Remove the "s" in %dates% It should be %date%
Give that a try. Matt Adams Tivoli Storage Manager Team Hermitage Site Tech Deloitte & Touche USA LLP 615.882.6861 -----Original Message----- From: Rob Hefty [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 3:15 PM To: [EMAIL PROTECTED] Subject: Help on a TSM bat file for NT Hello All, I am attempting to create a bat file that will automate an archive for some data on the NT/Win2k platform. What I am having difficulty with is passing the date variable into the description. So far I have: D: :SETVAR set date/t=dates Cd D:\Program Files\tivoli\tsm\baclient\ dsmc Archive -archmc=36-MONTH-ARCHIVE -desc="Freight Archives for Monthend Prior to: %dates%" D:\temp\test\* pause 5 When it completes it runs the archive fine only the description is lacking a date stamp. Any suggestions would be appreciated. Thanks, Rob Hefty IS Operations Lab Safety Supply - This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. - If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
