GEOSoft Posted December 31, 2008 Posted December 31, 2008 this does not contain more info than "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", what i am using. does it on other machines perhaps ?j.If the user changes the pah to the cache that ia the key that it's changed in. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
jennico Posted December 31, 2008 Author Posted December 31, 2008 ... and values in "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" will not be changed then ? sorry, i have to be sure about that. i will have to check that out first. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
GEOSoft Posted December 31, 2008 Posted December 31, 2008 http://www.codeguru.com/cpp/w-p/system/reg...ticle.php/c5719 George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
jennico Posted December 31, 2008 Author Posted December 31, 2008 (edited) ah, thanx ! seems a complete compilation. so the only missing thing is the activex section. do you think this can be safely deleted ? there may be useful elements among the junk. j. so i will offer "ActiveX", "Recycler", "Recent" in next version. Edited December 31, 2008 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
GEOSoft Posted December 31, 2008 Posted December 31, 2008 ah, thanx !seems a complete compilation. so the only missing thing is the activex section. do you think this can be safely deleted ? there may be useful elements among the junk.j.so i will offer "ActiveX", "Recycler", "Recent" in next version.Clearing ActiveX has the potential of becoming a pain in the backside for users. I would leave that alone. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
jennico Posted December 31, 2008 Author Posted December 31, 2008 yah, i will make a warning not to check it. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
Emiel Wieldraaijer Posted December 31, 2008 Posted December 31, 2008 (edited) @GeoSoftStrange http://www.codeguru.com/cpp/w-p/system/reg...ticle.php/c5719 mentiones HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\but it should be HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\Here are some other thingsRunMRU -> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RUNMRURecentDocs -> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocsOne other thing I allways use the following $HKCU = "HKEY_CURRENT_USER" $HKLM = "HKEY_LOCAL_MACHINE" If @ProcessorArch = "X64" Then ; or @OSArch depends on AutoIt version $HKCU = "HKEY_CURRENT_USER64" $HKLM = "HKEY_LOCAL_MACHINE64" EndIf Edited December 31, 2008 by Emiel Wieldraaijer Best regards,Emiel Wieldraaijer
jennico Posted December 31, 2008 Author Posted December 31, 2008 (edited) @GeoSoftStrange http://www.codeguru.com/cpp/w-p/system/reg...ticle.php/c5719 mentiones HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\but it should be HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\to make confusion complete: (please read carefully!)on my machine (xp pro sp2 IE6) it's different:1.) i don't have the registry entry:HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\instead: - HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\MSHist012008120820081215- HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\MSHist012008121520081222- HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\MSHist012008122920081230- HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\MSHist012008123020081231- HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Extensible Cache\MSHist0120081231200901012.) i don't have the registry entry:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\instead:- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path1- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path2- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path3- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\path4and:- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Special Paths\Cookies- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Special Paths\Historythe mentioned keys contain information about the location of the temp files. but neither of them has different info than HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders.so i think i stay with the last one. only this seems stable.j.the other thing: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs on my machine only binary strings, no files/locationsagain, i better use: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, Recent.so i will offer "ActiveX", "Recycler", "Recent", "RunMRU" (for last cmd runs) in next version. any objections to that ? Edited December 31, 2008 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
GEOSoft Posted December 31, 2008 Posted December 31, 2008 @GeoSoft Strange http://www.codeguru.com/cpp/w-p/system/reg...ticle.php/c5719 mentiones HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\ but it should be HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\TypedURLs\ Here are some other things RunMRU -> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RUNMRU RecentDocs -> HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs One other thing I allways use the following $HKCU = "HKEY_CURRENT_USER" $HKLM = "HKEY_LOCAL_MACHINE" If @ProcessorArch = "X64" Then ; or @OSArch depends on AutoIt version $HKCU = "HKEY_CURRENT_USER64" $HKLM = "HKEY_LOCAL_MACHINE64" EndIfWindows versions can change some of the keys. On my own version I use "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" for most things. I was just pointing out that there are other posibilities. IIRC the IE Cach is actually stored in 2 locations as well but I would have to dig through my system to verify that. Also that code for X64 is good to use. I saw that someone actually had that written as a function, just don't remember who or where. Just a slight mod If @ProcessorArch = "X64" Then; or @OSArch depends on AutoIt version $HKCU &= "64" $HKLM &= "64" George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
jennico Posted December 31, 2008 Author Posted December 31, 2008 hmmmmm... wanted to keep it simple...... Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
GEOSoft Posted December 31, 2008 Posted December 31, 2008 @jennico It's your script. Do what you want with it. Like I pointed out before I have one already customized for this system because some of my installed apps also create their own temp folders that I want cleaned out. As for ActiveX. I wouldn't let that touch my system. I clean Recent Docs a couple of times a day and I clean typed URLs about once every couple of months. I have IE set up to empty the cache everytime I close the browser and I never have to use that one so all this indicates that everyones needs vary a bit.I did a Folder Backup script a few years back that stored the folder info in the registry and then had a checkbox for "Other" where I could browse to a folder that I wanted to backup and then was given the choice of adding it to the permanent backup list or not. BTW the GUI only created Checkboxes for permanent entries plus the one for Other and another box for ALL and there was a button to remove permanent entries. Just pointing out that scripts like this are easy to make customizable. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Valuater Posted December 31, 2008 Posted December 31, 2008 hmmmmm... wanted to keep it simple......Mine always start that way.... 8)
Emiel Wieldraaijer Posted January 1, 2009 Posted January 1, 2009 @GEOSoft Thanks for the modification $HKCU = "HKEY_CURRENT_USER" $HKLM = "HKEY_LOCAL_MACHINE" If @ProcessorArch = "X64" Then; or @OSArch depends on AutoIt version $HKCU &= "64" $HKLM &= "64" EndIf Best regards,Emiel Wieldraaijer
jennico Posted January 1, 2009 Author Posted January 1, 2009 Added new version (first post) according to discussed issues. tell me if everything is okay. j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
GEOSoft Posted January 1, 2009 Posted January 1, 2009 (edited) @GEOSoft Thanks for the modification $HKCU = "HKEY_CURRENT_USER" $HKLM = "HKEY_LOCAL_MACHINE" If @ProcessorArch = "X64" Then; or @OSArch depends on AutoIt version $HKCU &= "64" $HKLM &= "64" EndIf@Emiel I could not locate that function I was looking for so I wrote a new one. In the process I discovered that the new version will return the same results for @OSArch, @ProcessorArch and @CPUArch so apparently none were really removed, just changed to aliases. That made the new function simple because I could just use @OSArch. You can also pass it a complete key as in the example. Using the abbreviated "HKLM" will still return the proper string as shown in the second MsgBox example. Edit: Moved the code to HERE so I don't clutter jennicos thread. Edited January 1, 2009 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
SoftVoile Posted January 2, 2009 Posted January 2, 2009 (edited) @ jennico i think now you can easily add support to remove saved passwords of some popular browsers. specially FireFox. you can also add support to remove saved passwords of msn/WinLiveMess , Yahooo, etc check the link http://www.nirsoft.net/articles/saved_password_location.html Firefox: The passwords are stored in one of the following filenames: signons.txt, signons2.txt, and signons3.txt (depends on Firefox version) These password files are located inside the profile folder of Firefox, in [Windows Profile]\Application Data\Mozilla\Firefox\Profiles\[Profile Name] Also, key3.db, located in the same folder, is used for encryption/decription of the passwords. + do some googleing... http://www.google.com.ru/search?hl=en&...earch&meta= Edited January 2, 2009 by SoftVoile Unresolved topics:1- Please help me in Editing or replacing a page in FireFox and IE.Please have a look at them.
SoftVoile Posted January 2, 2009 Posted January 2, 2009 @ jennicoone more thing... please add support to delete folders from root of every drive likeC:\Found.000C:\Found.001C:\Found.003|||C:\Found.999|and so on....same with all other drives Unresolved topics:1- Please help me in Editing or replacing a page in FireFox and IE.Please have a look at them.
FireFox Posted January 2, 2009 Posted January 2, 2009 @Softvoile I dont think its good idea because some games or softwares are stored in root directory Cheers, FireFox.
FireFox Posted January 2, 2009 Posted January 2, 2009 (edited) @jennico got error with @ProcessorArch with the last version of autoit... should be replaced with @CPUArch Edit : when I clean my recycle and I put after something I cant see it in the recycle Cheers, FireFox. Edited January 2, 2009 by FireFox
Enforcer Posted January 2, 2009 Posted January 2, 2009 Call me noob, but I think simple batch script in autorun the easyest way to keep your system clean: TITLE Yard-Man... @echo off cls color 2 Echo. Echo Killing Trash... deltree /Y %TEMP%\*.* >nul deltree /Y C:\docume~1\BOMBASTER\locals~1\Tempor~1\*.* >nul deltree /Y C:\docume~1\BOMBASTER\locals~1\History\*.* >nul deltree /Y C:\docume~1\BOMBASTER\locals~1\Temp\*.* >nul deltree /Y C:\docume~1\BOMBASTER\NetHood\*.* >nul deltree /Y C:\docume~1\BOMBASTER\Recent\*.* >nul deltree /Y C:\WINXP\Temp\*.* >nul TITLE Done... cls EXIT [RU] Zone
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