Yzöwl Posted February 14, 2005 Posted February 14, 2005 Well in an existing installation this file just needs a Right Click => InstallFrom the Run box, all you need isrundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 <drive>\<path>\<filename>.infFor an unattended install, just use the same command as above in any of your bats, cmds, winnt.sif etc.Additional NoteIf you intend to use cmdlines.txt, just put the inf in $OEM$ with it and install usingrundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 .\<filename>.infIf you intend to use cmdlines.txt, but want to put the inf within a folder as part of the $OEM$ structure install usingrundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 132 %SystemDrive%\<path>\<filename>.inf
Yzöwl Posted February 15, 2005 Posted February 15, 2005 @ evilvoiceJust post away, we're all here to learn something, and since thread was started by totoymola, and was expanded upon, I think it shows a good logical progression.If every thread was continued in this manner, under a nice search friendly title, this Forum would be more of a joy to use.Following on from another thread.....I could have obsfucated it to protect my code, but I didn't.Thanks for asking anyhow!
coucou Posted February 17, 2005 Posted February 17, 2005 Just Great TNX all DirList teamHowever, 1) just to confirm if it's working right.By right-click on a folder, a) a DOS window (cmd.exe) is opened,b) a DirList.txt file is saved in the concerned folder c) the DirList.txt file is opened by Noepad2) BTW, I do not like having dirlist.txt as folder/directory name. Is there an issue to get something like FolderName_List???Regardscoucou
Yzöwl Posted February 17, 2005 Posted February 17, 2005 Yes, but read the message first!, there have been many others throughout the thread too. It may have been better to start at page one and work through the thread in sequence.
totoymola Posted February 17, 2005 Author Posted February 17, 2005 I agree. Because we have a lot of different versions here, so this thing has evolved. But of course, the idea is still there. B)If every thread was continued in this manner, under a nice search friendly title, this Forum would be more of a joy to use.
coucou Posted February 18, 2005 Posted February 18, 2005 Hi,@Yzöwl and totoymola:I do red all this thread and even tested the totoymola, Afterdawn and Yzöwl dirlist files.I would say infact the totoymola dirlist write the file as FolderName_CONTENTS LIST.TXT in the Main Folder root which is very nice. The AfterDawn dirlist need 2 files (.reg + .cmd) 2 much!The Yzöwl dirlist.inf I prefer this one because it's the offer the UnInstal from Add /Remove Programs and easy UA install. However i wonder the mix of Yzöwl and totoymola. But, as my inf knowledge is limited, i do not dare to modify it.Moreover, It is possible to get the file size close to each file???Regardscoucou
Yzöwl Posted February 19, 2005 Posted February 19, 2005 (edited) @ coucouRegarding the message I linked to in my last reply, here is the inf version of it!Dir_List.inf Edited February 20, 2005 by Yzöwl
totoymola Posted February 19, 2005 Author Posted February 19, 2005 Hey Yzöwl! **** you're really good with INF files!
coucou Posted February 20, 2005 Posted February 20, 2005 Hi Yzöwl,I've the "DirList" option when I Right click on a folder BUT No file generated anywhere (Not in the Drive, main folder, folder, not in c: drive and not in %temp%).All what I have is a DOS window (cmd.exe) opened and closed (No notepad...)IHere my registry contentWindows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Folder\shell\DirList]@=""[HKEY_CLASSES_ROOT\Folder\shell\DirList\command]@=hex(2):25,00,43,00,4f,00,4d,00,53,00,50,00,45,00,43,00,25,00,20,00,2f,00,63,\ 00,20,00,64,00,69,00,72,00,20,00,22,00,25,00,31,00,22,00,20,00,2f,00,2d,00,\ 70,00,20,00,2f,00,62,00,20,00,2f,00,73,00,20,00,2f,00,61,00,3a,00,2d,00,64,\ 00,20,00,2f,00,6f,00,3a,00,6e,00,20,00,3e,00,20,00,22,00,25,00,31,00,22,00,\ 5f,00,4c,00,69,00,73,00,74,00,2e,00,74,00,78,00,74,00,20,00,26,00,26,00,20,\ 00,6d,00,6f,00,76,00,65,00,20,00,2f,00,79,00,20,00,25,00,31,00,5f,00,4c,00,\ 69,00,73,00,74,00,2e,00,74,00,78,00,74,00,20,00,22,00,25,00,31,00,22,00,20,\ 00,26,00,20,00,66,00,6f,00,72,00,20,00,2f,00,66,00,20,00,25,00,71,00,20,00,\ 69,00,6e,00,20,00,28,00,22,00,25,00,31,00,22,00,29,00,20,00,64,00,6f,00,20,\ 00,73,00,74,00,61,00,72,00,74,00,20,00,22,00,22,00,20,00,2f,00,77,00,20,00,\ 22,00,25,00,31,00,5c,00,25,00,7e,00,6e,00,71,00,5f,00,4c,00,69,00,73,00,74,\ 00,2e,00,74,00,78,00,74,00,22,00,00,00which is %COMSPEC% /c dir "%1" /-p /b /s /a:-d /o:n > "%1"_List.txt && move /y %1_List.txt "%1" & for /f %q in ("%1") do start "" /w "%1\%~nq_List.txt"TNX for an helpcoucou
Yzöwl Posted February 20, 2005 Posted February 20, 2005 Apologies to all who got the last inf, there was an error, as noted by coucou post above, please uninstall it from add/remove programs, and redownload or edit it yourself.the inf edit is this:HKCR,Folder\shell.........<snip>.......... & for /f %%%q in (""%1"") do start """" /w ""%1\%%%~nq_List.txt"""Just add the red bits!You can of course just edit the file for next usage or redownload it, and for now make the change directly in the registry key%COMSPEC% /c dir "%1" /-p /b /s /a:-d /o:n > "%1"_List.txt && move /y %1_List.txt "%1" & for /f %%q in ("%1") do start "" /w "%1\%%~nq_List.txt"Once again, just add the red bits!I have updated the previous attachment to suit...I told you I was guessing...
coucou Posted February 20, 2005 Posted February 20, 2005 Hi Yzöwl It' "half" working now.By launching the dirlist on H:\1 Derniers Download\D-Link\ folder, i get the Syntax error message here enclosed.In fact it generate a D-Link_List.txt file in the main folder H:\1 Derniers Download\ while it looking for H:\1 Derniers Download\D-Link\1_List.txt in the folder to be Dirlisted as thje error shown.Hope i was clearcoucou
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