Main Page | Report Page

 

  Computers Forum Index » Computer Archives - MS Windows » tscmd12.zip Useful NT/2000/XP script tricks and tips

Author Message
Timo Salmi
Posted: Thu Dec 11, 2003 3:32 pm
 
Thu 11-Dec-2003: I have updated

50398 Dec 11 2003 ftp://garbo.uwasa.fi/pc/link/tscmd.zip
tscmd.zip Useful NT/2000/XP script tricks and tips, T.Salmi, linked

Also available with a version number as
50398 Dec 11 2003 ftp://garbo.uwasa.fi/pc/ts/tscmd12.zip
tscmd12.zip Useful NT/2000/XP script tricks and tips, T.Salmi

Added two auxiliary Turbo Pascal program executables to help in
complicated date calculations. The code is based on what I have in
my separate Turbo Pascal FAQ tsfaqp.zip, item #119. It is true that
these conversions can, and have been programmed in straight script
by others. I did not wish duplicate that work. Even more
importantly, a compiled program is fast if there is, say hundreds of
file datetime stamps to browse in some task.

DATE2NUM.EXE Date into a Julian date number
NUM2DATE.EXE A Julian date number into a date

Added the items
31} How many days ago was 31.12.2003? What date it was a 100 days ago?
32} How can I convert a decimal number to binary, octal, hexadecimal?
33} How can I convert a binary, octal, hexadecimal into a decimal?

The item
"14} Help! My old batch files won't work since there is no choice"
now presents the CHOOSE.EXE alternative. The advantage of CHOOSE.EXE
over SET /P is that the former can handle timed default input. The
CHOOSE.EXE program was included in the package.

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
mailto:ts@uwasa.fi <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland
Timo's FAQ materials at http://www.uwasa.fi/~ts/http/tsfaq.html
 
 
Page 1 of 1    
All times are GMT
The time now is Mon Apr 21, 2014 7:05 am