|
#1
|
|||
|
|||
|
Hello All:
I am trying to schedule a backup on Win XP Pro using the following syntax: schtasks /create /tn "Incremental Backup" /tr C:\WINDOWS\system32\ntbackup.exe backup "@C:\UserProfiles\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Default.bks" /a /d "Set created 1/1/2006 at 4:56 PM" /v:no /r:no /rs:no /hc ff /m normal /j"Incremental Backup" /l:s /f "E:\backup\IncrementalBackup.bkf" /sc WEEKLY /d TUES,WED,THUR,FRI,SAT,SUN /st 12:00:00 /ru "System" The error I'm getting when executing this is: "Invalid Argument/Option - 'backup'" I believe the issue is that I need to encapsulate the portion of the string containing the ntbackup.exe and associated arguments, but don't know for sure. I checked MS.com, and found docs here: http://www.microsoft.com/technet/pro...297c68d17.mspx but there were no examples. In addition, the docs mentioned a 262 char limit on path names, although I _think_ that applies to just the path to the executable, not any associated arguments. While I'm aware that i may be able to solve this by putting the executable and args into a batch file, I'm specifically interested on if this can be accomplished as above, in a single command. TIA. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unexpected quotes behaviour | Ronald.T | Windows XP Customize | 2 | 01-05-2006 06:36 AM |
| where does schtasks job output go? | saalwaechter@gmail.com | Windows XP General | 1 | 01-05-2006 02:32 AM |