What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help writing a batch file

Help writing a batch file
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: Help writing a batch file
quote:
Originally posted by foaly
quote:
Originally posted by CookieRevised
What second half? What you mean by "synergys is still running"? You mean taskkill doesnt kill the synergys process ?

I ask this because it makes little sense that by adding START to everything it all of a sudden does work. Because you should not explicitly need the START command to start a program!
Ehm as far as I know you do...
try this as a batch file:
code:
mspaint.exe
notepad.exe
pause
start mspaint.exe
start notepad.exe
it will only start notepad after paint is closed...
but the second part will start them both...
Ah, programs opening a window and keep on running... forgot about that. I never use a batch file to start a windows based program or program which keeps running and I didn't knew that ultramon or synergys with those command line parameters would still be running after doing their thing, stupid me.

For all other normal batch file stuff (as I like to call it now :p) you should not use START though as it opens the program in another console thread and thus you can't control, check or redirect the output or even know if program A starts before program B.

You learn something new every day. Thanks foaly

This post was edited on 04-23-2009 at 10:24 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-23-2009 10:22 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help writing a batch file - by MeEtc on 04-21-2009 at 03:09 AM
RE: Help writing a batch file - by Jarrod on 04-21-2009 at 05:43 AM
RE: Help writing a batch file - by MeEtc on 04-21-2009 at 05:55 AM
RE: Help writing a batch file - by Jarrod on 04-21-2009 at 06:47 AM
RE: Help writing a batch file - by Dempsey on 04-21-2009 at 07:44 AM
RE: Help writing a batch file - by CookieRevised on 04-21-2009 at 04:09 PM
RE: Help writing a batch file - by Dempsey on 04-21-2009 at 05:15 PM
RE: Help writing a batch file - by Mike on 04-21-2009 at 06:00 PM
RE: Help writing a batch file - by MeEtc on 04-21-2009 at 06:24 PM
RE: Help writing a batch file - by MeEtc on 04-22-2009 at 02:27 AM
RE: Help writing a batch file - by Jarrod on 04-22-2009 at 03:35 AM
RE: Help writing a batch file - by MeEtc on 04-22-2009 at 04:26 AM
RE: Help writing a batch file - by CookieRevised on 04-23-2009 at 06:54 AM
RE: Help writing a batch file - by Vilkku on 04-23-2009 at 07:27 AM
RE: Help writing a batch file - by CookieRevised on 04-23-2009 at 07:37 AM
RE: Help writing a batch file - by foaly on 04-23-2009 at 12:01 PM
RE: RE: Help writing a batch file - by CookieRevised on 04-23-2009 at 10:22 PM
RE: Help writing a batch file - by MeEtc on 04-23-2009 at 03:12 PM
RE: Help writing a batch file - by Jarrod on 04-23-2009 at 10:39 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On