Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch files to write to text

Status
Not open for further replies.

REACt

Technical User
May 23, 2003
8
IN
I have made a batch file which lists directories where i have specified. i am wondering, as it lists directories in different locations on the hard drive, if i can use some sort of command to create a heading of some sort above the different directories listed.

Thanks
 
You can put

echo This is a directory >> filename.txt
echo" >> filename.txt

to put a heading and blank line in your text file.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top