Announcement

Collapse
No announcement yet.

Launching Daemon.exe from a batch file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Launching Daemon.exe from a batch file

    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...

  • #2
    Re: Launching Daemon.exe from a batch file

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

    Originally Posted by WAudette
    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
    http://www.calendarofupdates.com | http://sevenforums.com

    sigpic

    Comment


    • #3
      Re: Launching Daemon.exe from a batch file

      Originally Posted by johngalt

      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...

      Comment


      • #4
        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.

        Comment


        • #5
          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

          Comment

          Working...
          X