Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Command Prompt Question

  • Please log in to reply
1 reply to this topic

#1 Bluekaiser


  • Members
  • 3 posts
  • Local time:09:20 PM

Posted 27 June 2006 - 02:50 PM

hello, i've hear from somewhere that it is possible to to generate a text file with all the file names in the current directory, i've looked all over and haven't found anything. Would any know how to achieve this? thanks again

BC AdBot (Login to Remove)


#2 ArsenalFX


  • Members
  • 13 posts
  • Location:Ramstein Germany
  • Local time:03:20 AM

Posted 27 June 2006 - 03:06 PM

This is actually very simple. CD to the directory you want. Then type:
dir > filename.txt
Filename would be what you want to call it.
You can then go back and use the more command to view one page at a time.
more filename.txt

recommend www.computerhope.com/msdos.htm
There are 10 types of people in the world...
Those that understand Binary and those that don't!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users