Hi, on Windows I use something similar: DSMC Archive ... -Description="%date:~6,4%.%date:~3,2%.%date:~0,2%"
C:\> date returns "30.11.2007" on our system so the above command would be executed as DSMC Archive ... -Description="2007.11.30" Thomas Rupp -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Kim Hosty Sent: Friday, November 30, 2007 7:12 AM To: [email protected] Subject: [ADSM-L] Automated Backup Sets I am trying to set up a script to run an automated backup set of a node on a monthly basis. I would like to use a variable within the command to insert the current date as part of the backup set name such that the backup set name reads - "backup set of Node A, <Current Date>". Does anyone know how I can do this? Kim M. Hosty IT Engineer Wyeth BioPharma 1 Burtt Rd Andover, Ma. 01810 978-247-4306 [EMAIL PROTECTED] NOTICE - This communication contains confidential information of Wyeth, and is for the sole use of the intended recipient. Any unauthorized viewing, copying, dissemination or distribution of this information is strictly prohibited. If you have received this message in error, please notify me immediately by replying to the message and then deleting it from your computer. Vorarlberger Illwerke AG ein Unternehmen von illwerke vkw Rechtsform: Aktiengesellschaft, Sitz: Bregenz, Firmenbuchnummer: FN 59202 m, Firmenbuchgericht: LG Feldkirch, UID-Nr.: ATU 36737402
