Main Page | Report Page

 

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

Author Message
Timo Salmi
Posted: Tue Jan 06, 2004 5:17 am
 
Tue 6-Jan-2004: During the holidays I have had time to look further
into my NT/2000/XP command line scripts FAQ. Thus release the next
update with a number of additions. The update is available, as
usual, as

63443 Jan 6 2004 ftp://garbo.uwasa.fi/pc/link/tscmd.zip
tscmd.zip Useful NT/2000/XP script tricks and tips, T.Salmi

or with the version number as tscmd15.zip. But preferably get or
link to the file without the version number.

Added
FILEAGE.CMD "Find out how old a file is" which at the same time answers
two new items:
45} How can I find out how many days old a file is?
46} Is a program available in the default directory or at path?

Added the script
EDATE.CMD To display some alternative date formats for cutting and
pasting. Happened to need it myself.

Added more new items
47} Is it possible to echo the redirection symbol in a script?
48} Why do some comment lines cause errors? What can I do about it?
49} I need to reverse a text file. How do I do that fairly quickly?
50} How do I get the position of a substring in a string?

Partly based on a helpful discussion in news:alt.msdos.batch.nt
extended and renamed the item slightly:
23} How do I get the n:th, the first and the last line of a text file?

Made some other, smaller adjustments. Added a number of further
Google references to related postings.

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 Fri Apr 25, 2014 9:07 am