Hi,
I am trying to configure a windows scheduler. In this scheduler I want to run a command line. I have tried to put my command line in the run text field of windows task scheduler but it does not execute properly. I want to run this command in windows scheduler

cd C:\Program Files\SyncToy 2.1
SyncToyCmd -R > C:\Users\Test\Desktop\logs.txt

I am using windows 2003 server.
Thanks in advance

Combine the two lines

"C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R > C:\Users\Test\Desktop\logs.txt

The quotes are probably required because of the space in the path.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.