Windows file contents to text file

willwin5

New member
Local time
10:13 PM
Messages
2
i need a list of everything on my hard drive i can access in a text file without manually pounding the folder/sub folder and contents names into notepad is there anyway this can be achieved?
 

My Computer My Computer

Computer Manufacturer/Model Number
emachines
OS
windows 7
CPU
1.7

My Computer My Computer

Computer Manufacturer/Model Number
Dell 17-1750 Laptop
OS
Windows 7 Home Premium 64
CPU
Pentium Duo 2.54
Memory
4GB
Screen Resolution
1920 x 1080
Hard Drives
1 500GB
Mouse
Dell Optical
Internet Speed
768KB
Assuming you have basic command prompt knowledge

Open a command prompt, then navigate to the folder whose structure you want to save to a text file.
Type:

dir /s >somename.txt

You'll then find the file on the directory you are at. The /s switch navigates ALL subfolders and files so saving it to txt might take some time.

You could also use the http://www.sevenforums.com/tutorials/27778-open-command-window-here.html feature to have that folder already selected in the command prompt.

If you want EVERY single file/folder in your C:\ drive, then navigate to C:\ [cd /d C:\] and use the command from there.
 

My Computer My Computer

Computer Manufacturer/Model Number
Asus G73SW-XN2
OS
Windows 2000 5.0 Build 2195
CPU
Intel Core i7-2630QM@2GHz(2.9GHz Turbo Boost) [Sandy Bridge]
Motherboard
Asus G73SW (Intel HM65 Chipset)
Memory
Kingston DDR3 1333 16GB (4GBx4)
Graphics Card(s)
nVidia GTX 460m 1.5GB
Sound Card
EAX Advanced HD 5.0, THX TruStudio
Monitor(s) Displays
17.3 in. primary & 23 in. secondary
Screen Resolution
1920x1080
Hard Drives
Seagate Momentus XT (SATA II) 500 GB @ 7200 RPM
Hitachi (SATA II) 500GB @ 7200 RPM

Non Raid because ASUS was crappy to choose an HM65 Chipset
Keyboard
Built-in 102-Key Backlit Keyboard
Other Info
It's a Laptop.
i have no idea how to use the command prompt is it too complicated to explain step by step?
 

My Computer My Computer

Computer Manufacturer/Model Number
emachines
OS
windows 7
CPU
1.7
To open a Command Prompt, Just goto Start -> Run and type cmd and press enter

A black window will open. You can type the commands there.

To get a list of files in a specific folder, you need to navigate to that folder
Example, if you want the list of files in C:\My Folder\My Files, then type

Code:
C: <ENTER>
CD \My Folder\My Files <ENTER>
DIR /S *.* > C:\MyFileList.txt <ENTER>
The file list will be saved in the file C:\MyFileList.txt
Note: <ENTER> means you have to press the ENTER key.

To get the list of all files in drive D:
Code:
D: <ENTER>
CD \ <ENTER>
DIR /S *.* > C:\MyFileList.txt <ENTER>
Hope that helps
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP EliteBook 8530w Mobile Workstation
OS
Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
CPU
Intel Core 2 Duo Processor P8600 (2.40 GHz, 3 MB L2 cache)
Motherboard
Mobile Intel PM45 Express Chipset ICH9M-Enhanced
Memory
4GB 800 MHz DDR2 SDRAM
Graphics Card(s)
ATI Mobility FireGL V5700 with 256 MB
Sound Card
SoundMAX Integrated Digital HD Audio
Monitor(s) Displays
15.4-inch WXGA anti-glare (1280 x 800 resolution)
Screen Resolution
1280 x 800
Hard Drives
500GB + 1TB
Mouse
Synaptics PS/2 Port Touchpad, USB Mouse
Internet Speed
4 Mbps
Antivirus
MSE
Browser
Firefox, Chrome, IE
Other Info
Authentec AES2810 Fingerprint Reader
Another method:
Code:
Start > Accessories > Command Prompt
One more:
1. Open Explorer.
2. Select the drive or folder you want.
3. Hold down the Shift key and right click.
4. Select "Open command window here".
 

My Computer My Computer

Computer Manufacturer/Model Number
Dell 17-1750 Laptop
OS
Windows 7 Home Premium 64
CPU
Pentium Duo 2.54
Memory
4GB
Screen Resolution
1920 x 1080
Hard Drives
1 500GB
Mouse
Dell Optical
Internet Speed
768KB
This freebie will save you a lot of hassle:

Karen's Directory Printer


i need a list of everything on my hard drive i can access in a text file without manually pounding the folder/sub folder and contents names into notepad is there anyway this can be achieved?
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Back
Top