"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

Windows 95 and DOS

Directories to Text File

SUMMARY: Send a list of Windows 95 directories to a text file using DOS.


 

Do you need to place the contents of several directories into a text file? If so, the following DOS batch file should do the trick, placing the contents of up to 9 directories into file tempdir.txt in your WINDOWS temp directory.

@ECHO OFF
DIR %1 %2 %3 %4 %5 %6 %7 %8 %9> %TEMP%\tempdir.txt
notepad %TEMP%\tempdir.txt

Add this batch file to your Windows 95 "Send To" menu. Doing so will allow you to simply right-click on a folder, select "Send to TEXTDIR," and cause the contents of the folder to appear in filename TEXTDIR.



Print This Tip

Get E-Mail When New Tips are Online

Return to the Windows 95 and DOS page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )