Create a batch file that calls your batch file. Using Notepad, create a
file that has the following entry:
START /MIN somename.BAT
or
START /MIN somename.cmd
Depending on where somename.BAT resides, you may have to include the path.
I.e.
START /MIN c:\somename.BAT
If the path includes spaces, i.e. C:\Documents and Settings\Your Name
Here\My Documents\somename.BAT
You have to enclose the path with double quotes. I.e.
START /MIN "C:\Documents and Settings\Your Name Here\My
Documents\somename.BAT"
Or use instead
START /MIN "%userprofile%\My Documents\somename.BAT"
<quote>
@echo off
start "" calc.exe
will start calc.exe and kill of the command prompt where as
@echo off
calc.exe
will not.
<quote>
from Morgan
http://www.ureader.com/message/773841.aspx
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In