Jump to content

background a process in batch?


Recommended Posts

does anybody know how to execute a command in batch and for that command to go into the background so you can do something like:

longcommand1

longcommand2

longcommand2

longcommand3

so that I end up with 4 simultaneous processes running?

basically, I want the unix equivalent of &. The cmd prompt should come straight back before the process has finished working...

Link to comment
Share on other sites

Check out this page, under the heading "Using multiple commands and conditional processing symbols", they have some very useful conditional operators and I think its the closest your gonna get. Windows as far as I know, doesn't have anything like unix deamon support. Many programs give arguments that will allow you to do this, but nothing universal unless you use a 3rd party app. Multitasking support my ass huh

http://www.microsoft.com/resources/documen...w.mspx?mfr=true

You can also schedule commands/programs to run in the background, like this "AT 09:15 regedit.exe".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy