Thank you alan_b, that solved the variable trick
Now I just need to solve the other problem.
Search found 2 matches
- 15 Jul 2010 03:51
- Forum: DOS Batch Forum
- Topic: ERROR: User credentials are not allowed on the local machine
- Replies: 3
- Views: 11227
- 15 Jul 2010 01:34
- Forum: DOS Batch Forum
- Topic: ERROR: User credentials are not allowed on the local machine
- Replies: 3
- Views: 11227
ERROR: User credentials are not allowed on the local machine
What I want to do is to create a scheduled task that has a author different than the current user. Running this: schtasks /create /SC MINUTE /MO 5 /TN test /TR "c:\test\test.bat" /U system /f Gives me: "ERROR: Invalid syntax. Cannot specify user name without specifying system name.&qu...