1.

Solve : Batch command help?

Answer»

Hello gurus!

I would like to ask your help on my problem.
I have an application that is residing on my c:\program files\my application\app-cmd
I need to run this, using command line and need to add some syntax before it runs. my syntax if im doing it manually, I will run this in command line c:\program files\my application\app-cmd -a -b -c seriousman.xml

I need to do this every hour in an XP machine.

I would really appreciate your help on this.
Thank you in advance and more power!

If you having Task Scheduler SERVICE enabled in your system, try this one:

Code: [Select]schtasks /create /RU %username% /sc HOURLY /mo 1 /tn MyTest /tr "cmd /c c:\program files\my application\app-cmd -a -b -c seriousman.xml"Thank you.

But I'm receiving this error...

ERROR: No mapping between account names and security IDs was done.

anything wrong in my ENVIRONMENT?

How about this one?
Code: [Select]schtasks /create /ru System /sc hourly /mo 1 /tn MyTest /tr "cmd /c c:\program files\my application\app-cmd -a -b -c seriousman.xml"



Discussion

No Comment Found