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 >