October 28, 200520 yr 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.
October 28, 200520 yr 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.
October 28, 200520 yr 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, 200520 yr by maxXPsoft
October 28, 200520 yr 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?
October 28, 200520 yr YzöwlForgot i ever posted that in Unattendedlooks like prath forgot also Edited October 28, 200520 yr by maxXPsoft
October 29, 200520 yr Author 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.
November 1, 200520 yr 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.
November 4, 200520 yr 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.
Create an account or sign in to comment