Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Windows XP Task Scheduler, I've scheduled the execution of a cygwin program (C:\cygwin\bin\svn.exe update). It is working fine, but when it executes, a terminal window titled svchost.exe opens. It is very annoying.

Is it possible to execute the job without opening this window? At least it would be nice to have it run minimized.

Note: I can't add the cygwin cron service to the machine because I don't have admin permissions.

share|improve this question
up vote 4 down vote accepted

Cygwin's run.exe is intended for this job. See man run.

share|improve this answer
great! Here is my working command: C:\cygwin\bin\run.exe /usr/bin/svn commit -m 'test'. Note that I'm already on the path to be commited – neves Nov 18 '10 at 19:24

Here's how you can run anything without opening the window:

Just run your cygwin command with this .VBS script:

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Batch Files\syncfiles.bat" & Chr(34), 0
Set WshShell = Nothing

Hope this helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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