Daniel wrote:
> The batch runs great except if it is ran before 10:00 and the time
> has a single digit hour then it puts a SPACE between the date and
> time in the text name. This causes problems and I need to find a
> way to either not have the space or put a zero before the hour.
:: See to it that days 1-9 will always have a leading zero
set dd_=0%dd_%
set dd_=%dd_:~-2%
More fully in
163586 May 1 2006
ftp://garbo.uwasa.fi/pc/link/tscmd.zip
tscmd.zip Useful NT/2000/XP script tricks and tips, T.Salmi
All the best, Timo
--
Prof. Timo Salmi ftp &
http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
private.php?do=newpm&u= <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland
Timo's FAQ materials at
http://www.uwasa.fi/~ts/http/tsfaq.html