Backup69 Posted February 27, 2005 Posted February 27, 2005 HII need use fallowing command in to the cmd fileIf EXIST A:\AdminRun.cmd set INFO=A:If EXIST D:\AdminRun.cmd set INFO=D:If EXIST E:\AdminRun.cmd set INFO=E:etc..But now i need some command line after (If EXIST A:\AdminRun.cmd set INFO=A:) ,what skip floppy search if floppy not in the drive. How i can do that?
Backup69 Posted February 27, 2005 Author Posted February 27, 2005 OKI try use VB command like On Error resume but now i found right commandlineif errorlevel 0 goto Some_placeIf EXIST A:\AdminRun.cmd set INFO=A::Some_placeIf EXIST D:\AdminRun.cmd set INFO=D:If EXIST E:\AdminRun.cmd set INFO=E:sry for distrube
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now