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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now