ADSM-L

Re: Calling all windows scripters - help!

2004-10-06 07:17:49
Subject: Re: Calling all windows scripters - help!
From: Steve Schaub <Steve.Schaub AT HAWORTH DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 6 Oct 2004 07:20:17 -0400
Neil,

I figured out the problem - I had to change the %a parms to %%a
Thanks - this is just what I needed!

-----Original Message-----
From: Neil Schofield [mailto:neil.schofield AT YORKSHIREWATER.CO DOT UK] 
Sent: Tuesday, October 05, 2004 8:31 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Calling all windows scripters - help!


Steve

I don't know if you can build on this, but the following command will
create the files DUMMY1.TXT to DUMMY100.TXT in the current directory (or
append to them if they already exist) and add the date and time as two
lines to the end.

FOR /L %a IN (1,1,100) DO DATE /T >> DUMMY%a.TXT & TIME /T >>
DUMMY%a.TXT

Regards
Neil




Take a tour of a virtual waste water treatment works at
http://www.wastewatertour.com The information in this e-mail is
confidential and may also be legally privileged. The contents are
intended for recipient only and are subject to the legal notice
available at http://www.keldagroup.com/email.htm
Yorkshire Water Services Limited
Registered Office Western House Halifax Road Bradford BD6 2SZ Registered
in England and Wales No 2366682

<Prev in Thread] Current Thread [Next in Thread>