prathapml Posted October 28, 2005 Share Posted October 28, 2005 the next time you want to make a list of files in a folder, just go to that folder in a command prompt. Then run this command:dir /B /S >> file-list.txt-OR-tree /F /A >> file-list.txtThat will make a new file in that folder containing a list of all files. Link to comment Share on other sites More sharing options...
Bold_Fortune Posted October 28, 2005 Share Posted October 28, 2005 That's pretty neat, prathapml. I don't know how you guys figure this kind of stuff out sometimes. Good job.I've been using PrintFolder 1.2http://no-nonsense-software.com/freeware/ With it I can right-click on a folder and save it to a text file. Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 28, 2005 Share Posted October 28, 2005 (edited) Released that over 2 years ago in a BETA of my Tweak app but heres the reg stuff will do same thing and open it in Notepad. No, I discovered this elsewhere I only refined it better.Now you simply right click the folder and choose the Dir ListI enclosed it in a REG_Expand_SZ so it will dynamically get the systemdriveWant to toy with it more? Open a command prompt on a folder and type Dir /?BTW sucks nowadays adding extra BS not needed so maybe this quote will do. Edited November 10, 2005 by maxXPsoft Link to comment Share on other sites More sharing options...
Takeshi Posted October 28, 2005 Share Posted October 28, 2005 Released that over 2 years ago in a BETA of my Tweak app but heres the reg stuff will do same thing and open it in Notepad. No, I discovered this elsewhere I only refined it better....It adds Dir List to R click menu OK but doesn't actually write anything in the txt file (the first time it runs it asks me to create one). The cmd window keeps saying:The system cannot find the file specified.Or have I missed something? Link to comment Share on other sites More sharing options...
Yzöwl Posted October 28, 2005 Share Posted October 28, 2005 7 Page thread on the subject Link to comment Share on other sites More sharing options...
maxXPsoft Posted October 28, 2005 Share Posted October 28, 2005 (edited) YzöwlForgot i ever posted that in Unattendedlooks like prath forgot also Edited October 28, 2005 by maxXPsoft Link to comment Share on other sites More sharing options...
prathapml Posted October 29, 2005 Author Share Posted October 29, 2005 Yeah, must have forgot.... Anyways, this is for a different purpose. Plus its meant to be usable straightaway without 3rd party tools, so PrintFolder outside the purview of this.And since this is meant to be used in a scripted unattend, a REG for right-click is also outside purview. Link to comment Share on other sites More sharing options...
Ghettochild Posted November 1, 2005 Share Posted November 1, 2005 Why not try this. Step 1You make a bat file with this command and name the bat file, filelist.bathere's the command!dir /a /-p /o:gen >filelisting.txtStep 2Now copy that bat file to the windows folder.Step 3make a reg fileWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Folder\shell\Filelister][HKEY_CLASSES_ROOT\Folder\shell\Filelister\command]@="C:\\WINDOWS\\filelist.bat \"%1\""Make sure you have the same name of the (filelist.bat) corresponding to the regfile. You name it what ever you want really.Thats it!You should get a document called filelisting.txt. Link to comment Share on other sites More sharing options...
prathapml Posted November 1, 2005 Author Share Posted November 1, 2005 Thats cool..Thanks Link to comment Share on other sites More sharing options...
Takeshi Posted November 4, 2005 Share Posted November 4, 2005 Having read all the discussions here and elsewhere I prefer prathapml's method for its simplicity. I can name the txt file to my liking. If I were to do this a lot then using one of the other methods might be better. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now