Batch file help!!!

April 15, 2011 at 09:06:22
Specs: Windows 7
Hey guys I need help creating a batch file or at least getting started. Here's what I have to do.

1.asks the user for the name of a directory using user defined variables.
2.Ask the user for text to insert into a file using user defined variables.
3. Get a list of all.txt files located in the c:\\ drive and save it to a file called text.list.txt using bare format. Use user and system variables. .

Any help would be very much appreciated.


See More: Batch file help!!!

Report •

April 15, 2011 at 11:50:33
set /P Lookup
dir /s %lookup%\*.txt > text.list.txt

Report •
Related Solutions

Ask Question