Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: List of Files

04 Aug 2010   #1
huffman

Windows 7 Pro
 
 
List of Files

In Windows XP and I believe it worked in Vista there was a command line prompt to create a txt file listing all the subfolders and files for a directory.

Quote:
DIR "I:\" /s > "C:\List.txt"
This is the prompt I use in Win XP and it works and creates a txt file with a list on my C drive.


I have tried this in Windows 7 and it does not work.

Does anyone know how to tweak this prompt so that it works in Win 7?

Thanks


My System SpecsSystem Spec
.

04 Aug 2010   #2
unifex

Windows 7 Ultimate (x64)
 
 

The command that you mention works perfectly on my system.

The possible problem for you could be the fact that you might not have permissions to write to C:\ - in my case I was testing your command on E:\ drive.
My System SpecsSystem Spec
04 Aug 2010   #3
Jacee
Microsoft MVP

Windows 7 Ultimate 32bit SP1
 
 

File Lister.zip from bamajim.com

1. Go HERE http://bamajim.com/Tools/FileLister.zip and download File Lister.
Save it to your Desktop
Rt Click ->> Extract all ->> And extract it to your Desktop
Open the File Lister Folder.
Note: Leave the FileLister.vbe file in the folder and run it from there.
Rt Click FileLister.vbe ->>Select Open Then Open to confirm.
As the program runs, it will appear that nothing is happening.
When the program is finished it will produce a log for you C:\Files.txt
My System SpecsSystem Spec
.


04 Aug 2010   #4
huffman

Windows 7 Pro
 
 

Thanks of the responses.

Quote:
The possible problem for you could be the fact that you might not have permissions to write to C:\
That was the problem I guess. I changed where to create the List.txt file to D drive and it worked.

FileLister I gave a try but as far as I could tell it only listed things for C drive.

Thanks again
My System SpecsSystem Spec
04 Aug 2010   #5
Dzomlija

Windows 7 Ultimate x64
 
 

What you can also do is modify you command (I'm using your example) to:

Quote:
DIR I:\ /s | CLIP
This will all you to use the command line like you always have, but it redirects the output to the Windows Clipboard from which you can paste it into just about any document.

AND it eliminuates the need for you to install, learn, and use a third-party program...
My System SpecsSystem Spec
Reply

 List of Files




Thread Tools





Similar help and support threads
Thread Forum
How to get a list of all files on one drive only
This seems so simple, but I don't see how to do it. I want to have a list of all files on my C: drive or maybe on my D: drive, etc. In the old days it was DIR *.* I am using Win 7 - 64.
General Discussion
List of REG Files
Hello, I was wondering if there was a list of REG files you offer and what each one does. I'm running a computer lab that consists of 10 computers that I want all settings to be exact. I've changed a few REG files already, but right now I'm wondering if there was a list of all the REG files...
Customization
Problem with Jump List with files on a NAS
I have a strange problem with my jump lists. I am not sure what triggered it or when. Description: When I open a file (for a given file type - see below) from my local HD it shows a unique entry for the jump list. In other words, when I open files A.doc, B.doc, C.doc I see three separate...
General Discussion
FTP Files List to Text
I need a temporary solution to copy a selected list of files via ftp as text to notepad ? My current FTP client can't do this.
Software
List of windows boot files
Hai, im new here. hope somebody can help me. :) from the title that i state. i hope some1 can share with me list of windows boot files for windows 7, Vista and XP tq. :geek:
General Discussion
List Files in Folder With Ignore List
Edit: Sorry I made the topic an forgot to change the title. Should be: "List Files in Folder With Ignore List" or something along those lines. I'm a game server admin. What I want to do is generate a text file which will be used when I launch the server. An example of the text file I want to...
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 18:28.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App