What about taking that long line and putting it in a .bat file from a shorter file location and running it manually?
Such as C:\windows\command\backup.bat which only has one line: "C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\scripts\Daily.bat" > "C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\logs\TSM_Daily.log" Then break down the path to it's 8.3 equivelant: C:\inetpub\ftproot\BKMEKO~1\Usr\root\CBMR\scripts\Daily.bat > C:\inetpub\ftproot\BKMEKO~1\usr\root\cbmr\logs\tsm_daily.log This is what we do with our SQL TDP scipts and it will keep you from having to deal with double quotes. See Ya' Howard > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf > Of Grigori Solonovitch > Sent: Tuesday, October 06, 2009 8:04 AM > To: ADSM-L@VM.MARIST.EDU > Subject: Re: [ADSM-L] Objects for schedule COMMAND for Windows > > I have logging from Daily.bat, but redirected log is much richer and I > need to have it. > > Grigori G. Solonovitch > > Senior Technical Architect > > Information Technology Bank of Kuwait and Middle East > http://www.bkme.com > > Phone: (+965) 2231-2274 Mobile: (+965) 99798073 E-Mail: > g.solonovi...@bkme.com > > Please consider the environment before printing this Email > > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf > Of Tchuise, Bertaut > Sent: Tuesday, October 06, 2009 3:34 PM > To: ADSM-L@VM.MARIST.EDU > Subject: Re: [ADSM-L] Objects for schedule COMMAND for Windows > > Grigori, > > It may not be what you want but have you tried setting logging within > the Daily.bat file? I run multiple command schedules on numerous > clients; I made my life easier by having the batch file write to a log > file so I had a simplified object in the actual schedule. > > My object would look like objects='"C:\Inetpub\ftproot\BKME KOC > FTP\Usr\root\CBMR\scripts\Daily.bat"' and Daily.bat would include > logging to the TSM_Daily.Log file. > > BERTAUT TCHUISE > TSM/NetApp Storage Administrator > Legg Mason Technology Services > *410-580-7032 > btchu...@leggmason.com > > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf > Of > Grigori Solonovitch > Sent: Tuesday, October 06, 2009 5:17 AM > To: ADSM-L@VM.MARIST.EDU > Subject: [ADSM-L] Objects for schedule COMMAND for Windows > > Hello Everybody, > I have small problem, but I couldn't resolve it myself. > There is batch file to backup one of the Windows servers. From command > line on the server I am able to run batch as: > > "C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\scripts\Daily.bat" > >"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\logs\TSM_Daily.log" > > I have found the way how to put the same in Objects: > > upd sch nt daily_ftpsrv objects=' "C:\Inetpub\ftproot\BKME KOC > FTP\Usr\root\CBMR\scripts\Daily.bat" \>"C:\Inetpub\ftproot\BKME KOC > FTP\Usr\root\CBMR\logs\TSM_Daily.log"' > > and I have: > > ANS8000I Server command: 'q sched nt daily_ftpsrv f=d' > > Policy Domain Name: NT > Schedule Name: DAILY_FTPSRV > Description: Daily backup for FTPSRV > Action: Command > Options: > Objects: "C:\Inetpub\ftproot\BKME KOC > FTP\Usr\root\CBMR\scripts\Daily.bat" >"C:\Inetpub\ftproot\BKME KOC > FTP\Usr\root\CBMR\logs\TSM_Daily.log" > Priority: 5 > Start Date/Time: 10/02/2009 11:45:00 > Duration: 3 Hour(s) > Schedule Style: Classic > Period: 1 Day(s) > Day of Week: Any > Month: > Day of Month: > Week of Month: > Expiration: > Last Update by (administrator): TSMEXPLORER > Last Update Date/Time: 10/06/2009 11:41:50 > Managing profile: > > ANS8002I Highest return code was 0. > > Unfortunately, schedule is failing: > > ANS8000I Server command: 'q ev nt daily_ftpsrv f=d' > > Policy Domain Name: NT > Schedule Name: DAILY_FTPSRV > Node Name: FTPSRV > Scheduled Start: 10/06/2009 11:45:00 > Actual Start: 10/06/2009 11:45:03 > Completed: 10/06/2009 11:45:03 > Status: Failed > Result: 1 > Reason: Failed > > ANS8002I Highest return code was 0. > > What is the reason? > Could somebody help me? > Thank you very much in advance. > > > Grigori G. Solonovitch > > Senior Technical Architect > > Information Technology Bank of Kuwait and Middle East > http://www.bkme.com > > Phone: (+965) 2231-2274 Mobile: (+965) 99798073 E-Mail: > g.solonovi...@bkme.com<mailto:g.solonovi...@bkme.com> > > Please consider the environment before printing this Email > > > Please consider the environment before printing this Email. > > ________________________________ > "This email message and any attachments transmitted with it may contain > confidential and proprietary information, intended only for the named > recipient(s). If you have received this message in error, or if you are > not the named recipient(s), please delete this email after notifying > the > sender immediately. BKME cannot guarantee the integrity of this > communication and accepts no liability for any damage caused by this > email or its attachments due to viruses, any other defects, > interception > or unauthorized modification. The information, views, opinions and > comments of this message are those of the individual and not > necessarily > endorsed by BKME." > > IMPORTANT: E-mail sent through the Internet is not secure. Legg Mason > therefore recommends that you do not send any confidential or sensitive > information to us via electronic mail, including social security > numbers, account numbers, or personal identification numbers. Delivery, > and or timely delivery of Internet mail is not guaranteed. Legg Mason > therefore recommends that you do not send time sensitive > or action-oriented messages to us via electronic mail. > > This message is intended for the addressee only and may contain > privileged or confidential information. Unless you are the intended > recipient, you may not use, copy or disclose to anyone any information > contained in this message. If you have received this message in error, > please notify the author by replying to this message and then kindly > delete the message. Thank you. > > "This email message and any attachments transmitted with it may contain > confidential and proprietary information, intended only for the named > recipient(s). If you have received this message in error, or if you are > not the named recipient(s), please delete this email after notifying > the sender immediately. BKME cannot guarantee the integrity of this > communication and accepts no liability for any damage caused by this > email or its attachments due to viruses, any other defects, > interception or unauthorized modification. The information, views, > opinions and comments of this message are those of the individual and > not necessarily endorsed by BKME."