How to run a Windows command as a background job like Unix ?

Status
Not open for further replies.
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.customize (More info?)

To all,

Is it possible to run a command under the Win XP commnad prompt as a background job

In unix, it should be "COMMAND &"
but how to do it in Windows?

Thanks!

From Jason (Kusanagihk)
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.customize (More info?)

Hi Jason,

See if the information in this thread helps:
Subject: Silent .bat/.cmd file (no window)
http://groups.google.co.in/groups?hl=en&lr=&selm=uhU4x5jMEHA.2644%40TK2MSFTNGP11.phx.gbl

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


"Jason Jacob" <50230065@alumni.cityu.edu.hk> wrote in message news:b894244a.0412192342.6dd360f2@posting.google.com...
To all,

Is it possible to run a command under the Win XP commnad prompt as a background job

In unix, it should be "COMMAND &"
but how to do it in Windows?

Thanks!

From Jason (Kusanagihk)
 

badmuthahubbard

Distinguished
Jun 1, 2008
1
0
18,510
In case anyone has this problem in future, I finally found out the solution. The START command in Windows command line allows you to start another command window running any command; and the /B option can start the command without the extra command window, so you get similar behavior to Unix's background processes. Look it up for more details.
 

rosstux

Distinguished
Dec 21, 2010
1
0
18,510
Boy I think you are all on the wrong track ...

start is what you are looking for.

so in *NIX ... xxx &
in dos/win ... start xxx
 
Status
Not open for further replies.