![]() |
|
05 Jun 2010 | #1 |
|
Windows file contents to text file
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 System Specs![]() |
. |
|
05 Jun 2010 | #2 |
|
See this link: MS-DOS command redirection operators
|
My System Specs![]() |
06 Jun 2010 | #3 |
|
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 Open Command Window Here 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 System Specs![]() |
. |
|
06 Jun 2010 | #4 |
|
i have no idea how to use the command prompt is it too complicated to explain step by step?
|
My System Specs![]() |
07 Jun 2010 | #5 |
Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
|
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> 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> |
My System Specs![]() |
07 Jun 2010 | #6 |
|
Another method:
Code:
Start > Accessories > Command Prompt 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 System Specs![]() |
07 Jun 2010 | #7 |
![]() |
|
My System Specs![]() |
![]() |
Thread Tools | |
Similar help and support threads | ||||
Thread | Forum | |||
File/Folder property: “Allow this file to have contents indexed in..." When I right click on certain files and folders in MyDocuments, then select Properties, Advanced, I find that The feature labeled as “Allow this file to have contents indexed in addition to file properties” is not checked. I need to have this feature checked in all sub-folders and files under a... |
Software | |||
windows 7 host file contents auto deleted! My system is Dell Studio XPS L502 i7, its about 3years old Just now .. I noticed contents of windows host file is somehow auto removed, they were there like 5minutes ago and then .. its empty, other than the localhost .. also the default hosts page texts from Microsoft isn't there. How/why... |
General Discussion | |||
How to create .bat file to change the text in an .ini file? I have the original Zoo Tycoon. It has no built in widescreen support, but it's possible to get it by changing some information in its .ini file. I don't want to leave it at that though, as I also have a 4:3 monitor, and I switch between the two. I don't want to have to go into the ini file and... |
Gaming | |||
Windows 7 and Searching File Contents Hey guys, I'm having an issue with searching file contents. We have a folder set up for emails to be placed for archiving. The folder is shared, and located in a server 2003 machine. From my windows 7 machine, searching "reed" generates no results, but searching "Reed" will correctly find the... |
General Discussion | |||
Search text file contents for special character Hey, I'm trying to search the contents of some text files. The string I am searching for is SAP*. As you can probably guess when I type * I get everything that starts with the word SAP. I tried using ~"SAP*", ~SAP"(*)" etc. but it continues to show me everything that starts with SAP. I can't... |
General Discussion |
Our Sites |
Site Links |
About Us |
Find Us |
Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd All times are GMT -5. The time now is 03:41. |
![]() ![]() ![]() ![]() ![]() |