Jump to content

Recommended Posts

Posted

HI

I need use fallowing command in to the cmd file

If 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?


Posted

OK

I try use VB command like On Error resume but now i found right commandline

if errorlevel 0 goto Some_place

If EXIST A:\AdminRun.cmd set INFO=A:

:Some_place

If EXIST D:\AdminRun.cmd set INFO=D:

If EXIST E:\AdminRun.cmd set INFO=E:

sry for distrube

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...