How can I execute a windows command line in the background, without it interacting with the active user?

link|improve this question

67% accept rate
1  
Can you specify what you want to do? Do you want to perform a command on the command line in background or do you want to perform the whole command line in background, so it is unvisible from the desktop? – omnibrain Oct 12 '10 at 6:20
i need two cane perform a command on the command line in background or do you want to perform the whole command line in background – Mohammad AL-Rawabdeh Oct 12 '10 at 6:41
feedback

3 Answers

up vote 1 down vote accepted

Your question is pretty vague, but there is a post on ServerFault which may contain the information you need. The answer there describes how to run a batch file window hidden.

link|improve this answer
feedback

If you want the command-line program to run without the user even knowing about it, define it as a Windows Service and it will run on a schedule.

link|improve this answer
how do you do that? – barlop Sep 30 '11 at 19:26
Alternatively you can make it a scheduled task - Control Panel->Administrative Tools->Scheduled Tasks or use the schtasks command in Windows XP and above (warning: schtasks is complicated). – ultrasawblade Apr 6 at 19:02
feedback

I suspect you mean: Run something in the background and get the command line back immediately with the launched program continuing.

START "" program

Which is the Unix equivalent of

program &
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.