|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
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.
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 22.214.171.124
Department of Accounting and Business Finance ; University of Vaasa
mailto:firstname.lastname@example.org <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland
Timo's FAQ materials at http://www.uwasa.fi/~ts/http/tsfaq.html
|Back to top
All times are GMT
The time now is Wed Jul 23, 2014 5:53 am