Code

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
scienceguru1.bat
Posts: 44
Joined: 01 Jan 2011 20:54

Code

#1 Post by scienceguru1.bat » 16 Mar 2011 17:08

I have been working on a startup code, but after each program loads I have to restart the script.

Code: Select all

@echo off
echo Loading...
echo Commencing Startup...
echo Launching RocketDock...
"C:\Users\Christian\Documents\programs\RocketDock\RocketDock.exe"
echo Done. Launching wamp...
"C:\wamp\wampmanager.exe"
echo Done. Launching Dropbox...
"C:\Users\Christian\AppData\Roaming\Dropbox\bin\Dropbox.exe"
echo Done. Launching eprint...
"C:\Users\Christian\Documents\programs\Dropbox\eprint.vbs"
echo Done.
echo Startup Complete.
pause
exit

Can anyone help me?

PS: I know how to use the startup folder and the startup section of "msconfig"

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Code

#2 Post by aGerman » 16 Mar 2011 17:27

You should use the START command, e.g.

Code: Select all

start "" "C:\Users\Christian\Documents\programs\RocketDock\RocketDock.exe"

Regards
aGerman

scienceguru1.bat
Posts: 44
Joined: 01 Jan 2011 20:54

Re: Code

#3 Post by scienceguru1.bat » 16 Mar 2011 17:51

Thanks, it works :D :D :D

Post Reply