Start process with batch file - want to close DOS console

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I want to put a .bat file in my startup folder to run the following
command:

"C:\Program Files\Xming\Xming.exe" :0 -clipboard -multiwindow

It starts an X server and basically runs in the background. The problem
is a DOS console opens up and stays there until I manually close it.
The X server continues running fine after I close it. What I want is
for the DOS console to execute the command then go away. I can't figure
it out - tried various combinations of cmd /c, start /d and other
things that don't work. Help appreciated!

.



Relevant Pages

  • Re: Start process with batch file - want to close DOS console
    ... It starts an X server and basically runs in the background. ... is a DOS console opens up and stays there until I manually close it. ... for the DOS console to execute the command then go away. ... Thank you Pegasus. ...
    (microsoft.public.windowsxp.general)
  • Re: Start process with batch file - want to close DOS console
    ... It starts an X server and basically runs in the background. ... is a DOS console opens up and stays there until I manually close it. ... for the DOS console to execute the command then go away. ...
    (microsoft.public.windowsxp.general)
  • Re: Start process with batch file - want to close DOS console
    ... Try finish the .bat file with exit on the last line. ... It starts an X server and basically runs in the background. ... is a DOS console opens up and stays there until I manually close it. ... for the DOS console to execute the command then go away. ...
    (microsoft.public.windowsxp.general)
  • RE: TS 2003 in a SBS 2000 Environment
    ... Putting a shortcut in the Startup folder could be a workaround, ... Have you tried to start the application from within a command ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: dcdiag - advertising errors on newley promoted domain controller
    ... Can you do the following on uksccmads01 ... The problem may actually have nothing to do with the new server but the ... From a command prompt try and see if you get any additional info ... Skipping site UK-CCM, this site is outside the scope ...
    (microsoft.public.windows.server.active_directory)