schtasks.exe

F

Flanagann

Hi!

I'm currently working with schtasks.exe, and I experimenting some
problems. I'm trying to schedule a task with command line options, but I
don't know how to do it exactly, I only obtain error messages.

For instance:

schtasks /create /sc once /tn prueba /tr "C:\Program
Files/.../program.exe" -option1 "op1" -option2 "op2" /st 10:00:00 /sd
10/05/2005

I have tried to include the command line options after program.exe,
included in the path, but I obtain an error message, too.

Thanks and regards!
 
E

Enkidu

Flanagann said:
Hi!

I'm currently working with schtasks.exe, and I experimenting some
problems. I'm trying to schedule a task with command line options, but I
don't know how to do it exactly, I only obtain error messages.

For instance:

schtasks /create /sc once /tn prueba /tr "C:\Program
Files/.../program.exe" -option1 "op1" -option2 "op2" /st 10:00:00 /sd
10/05/2005

I have tried to include the command line options after program.exe,
included in the path, but I obtain an error message, too.
One way around that is to create a bat file with the comman
in it.

Cheers,

Cliff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top