Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


terryo
2011-07-17T21:09:22Z
How do you setup a job to run a dos command with a pipe?
For example:

echo y | chkdsk /f

As a process under VisualCron you need a command part and arguments.
Sponsor
Forum information
ErikC
2011-07-18T06:21:46Z
Hi Terryo,

You have to have an execute task for this and you have to use these settings:

Command: c:\windows\system32\cmd.exe
Arguments: /c echo y | chkdsk /f

1st you start a command prompt and with the /c you tell the command window there will be some commands behind it, then your command follows.


An other way is using a batch file for this.
Put all you command in this file and run the file with the execute task.

Regards,
Erik
Uses Visualcron since 2006.
Scroll to Top