The command line seems fine to me. Do you get an error or what?
>
>I am current attempt to automate the Scheduled Task feature of the OS using the XP SchTasks.exe application. When I include the UserName (/RU switch) and the Paqssword (/RP switch) the password does not get applied to the Schedule task.
>
>Here is a example of the command line code that is being executed (the password is not the real one.)
>
>C:\WINDOWS\System32\SchTasks.exe /Create /tn lcb_30063662 /tr "C:\PROGRA~1\MIE6FC~1\vfp8.exe C:\DOCUME~1\GREGOR~1.REI\MYDOCU~1\VISUAL~2\LIFECY~2\lcBuild.App C:\DOCUME~1\GREGOR~1.REI\MYDOCU~1\VISUAL~2\LIFECY~2\EXAMPLE\Accounting.PJX scan_document Quit" /SC ONCE /st 12:00:00 /ru QUALIFACTS\gregory.reichert /rp Test1234
>
>Am I missing something, or formatting the line incorrectly.
>
--sb--