[program-l] Re: DOS Batch Files: File list expansion?
- From: richard_bartholomew@xxxxxxxxxxxxxxxx
- To: program-l@xxxxxxxxxxxxx
- Date: Fri, 31 Mar 2006 13:44:31 +0100
Hi, Ian
Probably not what you're looking for, but...you could fudge it by using the
'dir' command inside your batch file and re-direct your output to a file
which cold then be parsed?
For example, inside your batch file, you'd have
dir * >myresults.lst
find <string> myresults.lst | <command>
Or am I getting mixed up!!! <smile>
Regards
Richard Bartholomew
ISOS Database & Middleware
Datacentre
8 Glenogle Road
Edinburgh
EH3 5HW
Tel +44 (0)131-245-1667
Fax +44 (0)131-245-3120
This e-mail is confidential, if you are not the intended recipient, do not
retain/disclose it and please return it to us. We virus scan and monitor
all e-mails but are not responsible for any damage caused by a
virus/alteration of our e-mail by a third party after sending.
For more information on Standard Life, visit our website
http://www.standardlife.co.uk/
The Standard Life Assurance Company, Standard Life House, 30 Lothian Road,
Edinburgh EH1 2DH, is registered in Scotland (No. SZ4) and is authorised
and regulated by the Financial Services Authority. Tel: 0131 225 2552 -
calls may be recorded or monitored.
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
- References:
- [program-l] DOS Batch Files: File list expansion?
- From: Ian Sharpe
Other related posts:
- » [program-l] DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- » [program-l] Re: DOS Batch Files: File list expansion?
- [program-l] DOS Batch Files: File list expansion?
- From: Ian Sharpe