PDA

View Full Version : Launching Daemon.exe from a batch file



WAudette
18.09.2003, 23:51
Operating System: WinXP Pro
Burning Software: Alchol 120%
Anti-virus Software: SAV
DAEMON Tools Version: 3.33

Hello,

I have searched the forum and FAQs already but haven't turned anything up.

Can someone tell me what I am doing wrong?

I want to launch Daemon tools from a start up batch file. When I launch "c:/programs folder/d-tools/daemon.exe" from a dos prompt in WinXP in launches fine.

I can't do that in my batch file though or it will halt after launchin Daemon and not map my drives.

How do I spawn daemon.exe from within a batch file on WinXP?

Startup.bat
***********
REM Start-UP File

start /b "c:\program files\d-tools\daemon.exe"
REM cmd.exe "c:\program files\d-tools\daemon.exe"
REM start /b "c:\program files\d-tools\daemon.exe"

REM Map My Drives
REM **Omitted**

Echo "Done"
cls

exit
**********

Thanks,

William...

johngalt
19.09.2003, 13:11
Operating System: Win XP
Burning Software: you name it
Anti-virus Software: SAV 8 Corporate
DAEMON Tools Version: 3.33


Operating System: WinXP Pro
Burning Software: Alchol 120%
Anti-virus Software: SAV
DAEMON Tools Version: 3.33

Hello,

I have searched the forum and FAQs already but haven't turned anything up.

Can someone tell me what I am doing wrong?

I want to launch Daemon tools from a start up batch file. When I launch "c:/programs folder/d-tools/daemon.exe" from a dos prompt in WinXP in launches fine.

I can't do that in my batch file though or it will halt after launchin Daemon and not map my drives.

How do I spawn daemon.exe from within a batch file on WinXP?

Startup.bat
***********
REM Start-UP File

start /b "c:\program files\d-tools\daemon.exe"
REM cmd.exe "c:\program files\d-tools\daemon.exe"
REM start /b "c:\program files\d-tools\daemon.exe"

REM Map My Drives
REM **Omitted**

Echo "Done"
cls

exit
**********

Thanks,

William...

Tyr just entering hte path and filename instead of using hte start command:

c:\program files\d-tools\daemon.exe

WAudette
20.09.2003, 06:36
Tyr just entering hte path and filename instead of using hte start command:

c:\program files\d-tools\daemon.exe

If I do that the script halts and my drives don't get mappd and the cmd shell hangs until Daemon.exe is halted.

I think it has something to do with the way start handles spaces withing the quotes.

Since then I have set the path to the D-Tools directory and got it to work if I launch it directly from the D-Tools directory.

I am still curoius however as to why it wouldn't work though.

Thanks for the try.

William...

Development
20.09.2003, 13:48
You don't know correct syntax of start command . Read help carefully.
What you specify in quotes is in fact name of window to display, not the command to be run.

Creator_Of_Mayhem
02.10.2003, 00:40
Operating System: Windows XP Pro SP1
Burning Software: Nero 6
Anti-virus Software: NOD32
DAEMON Tools Version: 3.33

you should try a program named MyRun or MyRunEdit ;)