Running a process in background from Batch file or DOS

In Unix/Linux, it is simply ending the command with an ampersand “&”, but in DOS, there is no such thing. One way to do it is to use “start” command and then minimize the window. This is an example how to do it:

dos:> start "window1" /min myprogram.exe
dos:> start "window2" /min myprogram.exe

Advertisements

One Response

  1. or: start myprogram.exe /b
    It runs it in background

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: