Bryan, If you're trying to pass VBScript programs to Windows, you have to submit them to the "CScript" program. As in "cscript pre.vbs".
If you have any recent version of MSIE with the default scripting support you should have the cscript program. You can check system32 to be sure. Tab Trepagnier TSM Administrator Laitram Corporation "Stahl, Alexander" <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]> 06/27/2002 10:46 AM Please respond to "ADSM: Dist Stor Manager" To: [EMAIL PROTECTED] cc: Subject: AW: Pre and Poet Schedule commands Hi, with windows you'll have to use following line before your command pre/postsched %systemroot%\system32\cmd.exe /c "<your command>" I hope this helps Alexander Stahl SerCon GmbH > ---------- > Von: Newswanger, Bryan (NEWSWABS)[SMTP:[EMAIL PROTECTED]] > Antwort an: ADSM: Dist Stor Manager > Gesendet: Donnerstag, 27. Juni 2002 17:44 > An: [EMAIL PROTECTED] > Betreff: Pre and Poet Schedule commands > > Has anyone had any luck getting the preschedule and postschedule option to > work. I've been testing with a VB script which just displays a text box > when > run. The log file gives the following error: > > Executing Operating System command or script: > c:\pre.vbs > 06/27/2002 11:15:15 Finished command. Return code is: > 1 > > I've also tried using the UNC path to the script with the same error. The > client version is 4.1.0 the server is v4.1.5 The workstation is Windows NT > 4.0 SP5. The dsm.opt has the following command for post and pre schedule. > > POSTSCHEDULECMD "c:\post.vbs" > PRESCHEDULECMD "c:\pre.vbs" > > Thanks in advance > > > Bryan Newswanger > Senior Network Support Specialist > University of Cincinnati Information Technology > University of Cincinnati > Phone: (513)556-5153 > Fax: (513)556-2042 > E-mail: [EMAIL PROTECTED] > ------------------------------------------------------------ > "Life is what happens while you are making other plans" - John Lennon >