Subject: | |
From: | |
Reply To: | |
Date: | Fri, 19 Feb 1999 16:21:46 +0530 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
Hope this helps.
------------------------------------------------------------------------
Comment ******************************
Comment * Get the Date-Time info... *
Comment ******************************
Comment
SetVar tMinute RHT ( "0" + "!HPMinute", 2 )
SetVar tHour RHT ( "0" + "!HPHour" , 2 )
SetVar tDate RHT ( "0" + "!HPDate" , 2 )
SetVar tMonth RHT ( "0" + "!HPMonth" , 2 )
SetVar tYear RHT ( "!HPDateF" , 4 )
Comment
Comment ********************************
Comment * Set the var's for our script *
Comment ********************************
Comment
SetVar tAccount "ACCT" + "!tYear"
SetVar tGroup "GROUP" + "!tMonth"
SetVar tFile "F" + "!tDate!tHour!tMinute"
SetVar NewFile "!tFile" + ".!tGroup" + ".!tAccount"
Echo
Echo
Echo Formatted Date
Echo --------------
Echo
Echo Date Hour Minute Month Year
Echo
Echo !tDate !tHour !tMinute !tMonth !tYear
Echo
Echo
Echo A possible file name
Echo --------------------
Echo
Echo Create the account and group if they do not exist...
Echo
Echo File Name: !NewFile
Echo
Echo
-------------------------------------------------------------
Best regards,
Bijo
_________________________________________________________________________
Dare to dream and take risks...
_________________________________________________________________________
Bijo S. Kappen MailTo:[log in to unmask]
System Technology Lab TEL: (91) 80-225-1554
x1218
Location 4C2, 4th Floor
Hewlett Packard India Software Operation
30, Cunningham Road FAX: (91) 80-220-0196/4102
Bangalore-560052, INDIA TELNET: 847-1218
_________________________________________________________________________
|
|
|