| Home > |
Site Map | |
|
| VGClean Program Manual |
VGClean aids in cleaning out excess or junk files and data from your computer hard drives. Specifically, it "cleanses" the user's hard drives of undesired files, folders, registry keys, registry values, INI file values, and other stored information which are placed there by various programs such as your web browser and which, at least in my opinion, can be deleted without undue harm. This includes removing privacy- and security-related information that you would rather not leave behind for others to view. This might be especially important to you when multiple users have access to the same computer, such as in a library setting. All possible actions which VGClean can take are summarized below.
Originally VGClean presented all of its available action options on the main form for the user to select. However, the rapid growth, proliferation, and evolution in software available such as browsers has caused me to phase out adding new application program-related items to the main form (some former and now obsolete choices remain on the form but have been deactivated). Instead, it is my intention to confine future add-ons and expansion entirely to the user-customizable initialization file VGCleanUserSpecified.ini. Use of this file presumes a user with sufficient computer knowledge to be able to type in a fully qualified file or directory specification, registry key value, etc.
(1) Recent versions of VGClean have been tested only with Windows XP. It may very well function satisfactorily under other Windows operating systems, but this has not been tested, and some features are deactivated in other operating systems.
(2) The specific program versions that VGClean has been tested with are listed on the Main Form (i.e., the version of Internet Explorer, Netscape, etc.). If you use later or earlier versions of any of these application program, it is less likely that no unexpected effects will result from using VGClean. In some cases the desired action will be performed, but in other cases (such as MS Office settings stored in the registry), the desired action cannot be performed.
(3) VGClean requires a screen resolution of at least 1024x768.
(4) You should have Notepad.EXE available on your computer in the executable path for VGClean to display automatically the optional report log file.
I have used VGClean satisfactorily and regularly since 1999. When you give VGClean permission to proceed by pressing "Go", VGClean will perform extensive erasures, deletions, and modifications on your computer. The choice of what actions to take may seem somewhat arbitrary to you, and might even have consequences you will consider undesirable. For example, VGClean will remove information such as stored cookies that some users might feel should be retained (because they include logon information, etc.) It is your responsibility to review the planned actions, described fully below which can be taken by VGClean, before you actually use it. You should determine in advance if these actions are acceptable to you. If you find some features unacceptable, or if you are simply not sure whether to allow them to proceed, turn the actions in question off by unchecking the appropriate checkboxes before you run the program. You must turn individual check boxes off each time you run the program--there is no way to store this type of user-preference information.
In any event, VGClean is provided "as is", without charge, and without any guarantees that you will be satisfied with what it does. You use it at your own risk. I have made reasonable efforts to anticipate and prevent harmful programming errors, but use of this program is by its very nature somewhat risky due to the extensive deletions and modifications it performs. I cannot guarantee that VGClean is free of bugs which will cause unexpected effects. I also cannot guarantee that newer versions of some of the programs affected, such as Internet Explorer, will not respond differently to the changes that I have programmed. When you are first starting out with VGClean, I suggest you back up your drives that will be affected before running it, and after running it, do spot checks to see if there are any obviously adverse effects.
Obtain the file vgclinst.exe. Run this file to extract the installation files. Run setup.exe to install the program to the directory of your choice. Edit your initialization file VGCleanUserSpecified.ini if desired (it must be in the same directory as the file VGClean.EXE).
| Action | Description |
| System Temp Directory Purges Directory |
Action: Removes all subfolders and files from the
System Temp directory specified in the system environmental variable
TEMP. Does not remove .TMP files that are newer than 5 minutes (so
that VGClean's own temp files are not removed--this is why you should
run VGClean within 3 minutes of starting it up). How to Configure: The user can change the system temp directory by changing the value of this environmental variable. NOTE: This directory should always be located on the same logical drive as your operating system (so that files being automatically moved at bootup to complete program installations are not erased.). How to Block: Uncheck the appropriate check box |
| User's Temp Directory Purges Directory |
Action: Removes all subfolders and files from the
Temp directory which you specify to be your own Temp dir. This is
not the same as the System Temp directory. The directory you
select must end in \Temp\. How to Configure: Specify your choice with the appropriately positioned button "Chg" or clear your previous choice with the appropriately positioned button "Clr". If you do not designate a User Temp directory, this item will be ignored. How to Block: Uncheck the appropriate check box |
| *.TMP files (recursive) Deletes files from drives selected |
Action: Erases all files ending in .TMP from
specified drives beginning at the root directory and including all
subdirectories. The list of drive letters should not include the drive
holding the operating system. How to Configure: Specify your choice of drive letter(s) with the appropriately positioned button "Chg" or clear your previous choice with the appropriately positioned button "Clr". If you do not designate any drive letters, this item will be ignored. The corresponding checkbox is always turned off, as this item adds considerably to the time VGClean requires to run, so you must check the box anytime you wish to run this item. How to Block: Uncheck or leave unchecked the appropriate check box |
| Other ?:\Temp Dirs Purges Directory(s) |
Action: Removes all subfolders and files from Temp
directories on drives other than the one holding the operating
system. These must each arise from the root directory and must end
in TEMP (e.g., K:\TEMP). How to Configure: Specify your choice of drive letter(s) with the appropriately positioned button "Chg" or clear your previous choice with the appropriately positioned button "Clr". If you do not designate any such drive letters, or the corresponding \Temp directories do not exist, this item will be ignored. How to Block: Uncheck the appropriate check box |
| NT Explorer Recently Used *.LNK Files Deletes Files |
Action: Erases all LNK files in the user's RECENT
directory. This directory is specified by the system environmental
variable USERPROFILE, with \RECENT added to it. How to Configure: Not user-configurable. How to Block: Uncheck the appropriate check box. |
| NT Explorer Docs Recent MRU Purges and Deletes Key |
Action: Purges and deletes registry key
"\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs". DEACTIVATED |
| NT Explorer Docs Find MRU Purges and Deletes Key |
Action: Purges and deletes registry key "\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc Find Spec MRU".
This key stores information about what files have been searched with
Find | Find Files or Folders. DEACTIVATED |
| NT Explorer Find Computer MRU Purges and Deletes Key |
Action: Purges and deletes registry key "\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FindComputerMRU".
This key stores information about what computers have been searched with
Find | Find Computer. DEACTIVATED |
| NT Explorer Run MRU Purges and Deletes Key |
Action: Purges and deletes registry key "\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU". DEACTIVATED |
| NT Explorer Stream MRU Purges and Deletes Key |
Action: Purges and deletes registry key "\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU" DEACTIVATED |
| NT Explorer Streams Purges and Deletes Key |
Action: Purges and deletes registry key
"\HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams" DEACTIVATED |
| Netscape History File Deletes File |
Action: Erases the file named Netscape.hst from the disk
directory you provide. How to Configure: The user can specify the directory in which the file Netscape.hst is to be found by pressing "Chg", or clear your previous choice with the appropriately positioned button "Clr". This is the file you clear in Netscape when you press Preferences | Navigator | History | Clear History. If you do not have Netscape installed and/or there is no such file specified or present, this item will be ignored. (Note: Mozilla and Firefox do not use the same file name) How to Block: Uncheck the appropriate check box. |
| Netscape NS File Cache Directory Purges Directory |
Action: Removes all subfolders and files from the
Netscape (or Mozilla) file cache directory location which you specify. How to Configure: The user can specify the directory in which Netscape stores cached files by pressing "Chg", or clear your previous choice with the appropriately positioned button "Clr". This is the directory you specify in Netscape 4.x with Preferences | Advanced | Cache | Disk Cache Folder and clear with Preferences | Advanced | Cache | Clear Disk Cache. If you do not have Netscape installed and/or there is no such directory specified or present, this item will be ignored. How to Block: Uncheck the appropriate check box. |
| Netscape NS Mail Trash Deletes Trash files |
Action: Erases the files Netscape (or Mozilla) stores Mail trash
in, namely files matching the pattern TRASH.* and stored in a directory
which you specify. How to Configure: The user can specify the directory from which to clear Trash.* files by pressing "Chg", or clear your previous choice with the appropriately positioned button "Clr". This is the directory you specify in Netscape 4.x with Preferences | Mail & Newsgroups | Mail Server | Local Mail Directory. If you do not have Netscape installed and/or there is no such directory specified or present, this item will be ignored. How to Block: Uncheck the appropriate check box. |
| Netscape URL History File Edits File |
Action: Edits the file Netscape stores Location Bar
History in (prefs.js) to remove this history. Specifically, it
deletes any line in this file containing the string "browser.url_history"
but otherwise does not modify the file. (Note: Mozilla uses a different
storage method, see below) How to Configure: The user can specify the directory in which the file prefs.js is to be found by pressing "Chg", or clear your previous choice with the appropriately positioned button "Clr". This is the file containing entries you clear in Netscape when you press Preferences | Navigator | Location Bar History | Clear Location Bar. If you do not have Netscape installed and/or there is no such file specified or present, this item will be ignored. How to Block: Uncheck the appropriate check box. |
| Netscape Cookie File Delete File |
Action: Erases the Netscape (or Mozilla) cookies
file Cookies.txt from the disk
directory you provide. How to Configure: The user can specify the directory in which the file Cookies.txt is to be found by pressing "Chg", or clear your previous choice with the appropriately positioned button "Clr". This is the file in which Netscape stores all cookies. If you do not have Netscape installed and/or there is no such file specified or present, this item will be ignored. How to Block: Uncheck the appropriate check box. |
| Netscape Newsgroup Directory Purges Directory |
Action: Removes all subfolders and files from the
Netscape (or Mozilla) newsgroup directory location which you specify. How to Configure: The user can specify the directory in which Netscape stores newsgroup information by pressing "Chg", or clear your previous choice with the appropriately positioned button "Clr". This is the directory you specify in Netscape 4.x with Preferences | Mail & Newsgroups | Newsgroup Server | Newsgroup Directory. If you do not have Netscape installed and/or there is no such directory specified or present, this item will be ignored. How to Block: Uncheck the appropriate check box. |
| MS Internet Explorer File Cache Purges Directory |
Action: Removes all subfolders and files from the
MS Internet Explorer file cache directory. You can change the
location of this file cache in Internet Explorer with Tools | Internet
Options | General | Temporary Internet Files | Settings | Move
Folder. In some cases when you have used Internet Explorer during
a session, this directory cannot be purged unless VGClean is run
noninteractively at subsequent bootup. How to Configure: Not user configurable. How to Block: Uncheck the appropriate check box. |
| MS Internet Explorer Typed URLs MRU Purges and Deletes Key |
Action: Purges and deletes registry key
"\HKCU\Software\Microsoft\Internet Explorer\TypedURLs".
These are the URLs that the user has typed into the Address (Location)
Bar directly. How to Configure: Not user-configurable. How to Block: Uncheck the appropriate check box. |
| MS Internet Explorer History Directory Purge Directory |
Action: Removes all subfolders and files from the
MS Internet Explorer history directory. This directory is
specified by the system environmental variable USERPROFILE, with
\History\ added to it. How to Configure: Not user configurable. How to Block: Uncheck the appropriate check box. |
| MS Internet Explorer Cookies Directory Purge Directory |
Action: Removes all subfolders and files from the
MS Internet Explorer cookies directory. This directory is
specified by the system environmental variable USERPROFILE, with
\Cookies\ added to it. How to Configure: Not user configurable. How to Block: Uncheck the appropriate check box. |
| Miscellaneous WinZip 7.0 MRU Purges and Deletes Key |
Action: Purges and deletes registry key
"\HKCU\Software\Nico Mak Computing\WinZip\filemenu".
These are the most recently accessed ZIP files in WinZip. If you do not
have WinZip installed and/or there is no such key present, this item
will be ignored. How to Configure: Not user-configurable. How to Block: Uncheck the appropriate check box. |
| Miscellaneous Excel 97 MRU Purges and Deletes Key |
Action: Purges and deletes registry key
"\HKCU\Software\Microsoft\Office\8.0\Excel\Recent File List".
These are the most recently accessed files in Excel 97. If you do not
have Excel installed and/or there is no such key present, this item will
be ignored. How to Configure: Not user-configurable. How to Block: Uncheck the appropriate check box. |
| Miscellaneous WordPad 4.0 MRU Purges and Deletes Key |
Action: Purges and deletes registry key
"\HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\WordPad\Recent File List".
These are the most recently accessed files in WordPad. If you do not
have WordPad installed and/or there is no such key present, this item
will be ignored. How to Configure: Not user-configurable. How to Block: Uncheck the appropriate check box. |
| Miscellaneous Empty Recycle Bins Purge Directory(s) |
Action: Purges the recycle bins on drives with
specified drive letters. Specifically, this will purge any
directory found on each drive letter and having the form x:\RECYCLED and x:\RECYCLER
where x is one of the drive letters specified. If you have not
specified any drive letters or do not have such directories, this item
will be ignored. How to Configure: Specify your choice of drive letter(s) with the appropriately positioned button "Chg" or clear your previous choice with the appropriately positioned button "Clr". (In Windows XP, this item is not user configurable). How to Block: Uncheck the appropriate check box. |
| Miscellaneous Access 97 MRU Deletes Selected Key Values |
Action: Edits selected registry values in key
"\HKCU\Software\Microsoft\Office\8.0\Access\Settings".
Information about the most recently accessed files in Access 97 is
thereby eliminated. Specifically, key values named MRU1, MRU2, MRU3,
& MRU4 are set to zero-length strings, and key values named
MRUFlags1, MRUFlags2, MRUFlags3, & MRUFlags4 are set to 0. If
you do not have Access97 installed and/or there is no such key present,
this item will be ignored. How to Configure: Not user-configurable. How to Block: Uncheck the appropriate check box. |
| Process User File VGCleanUserSpecified.ini |
Action: If the checkbox is checked, VGClean will
process items described below and listed in the user file
VGCleanUserSpecified.ini How to Configure: Edit VGCleanUserSpecified.ini How to Block: Uncheck the appropriate check box. |
Each section listed below may be included in or omitted from the file VGCleanUserSpecified.ini, and each section may have 0 or more line item entries other than comments. You may add as many single comment lines to this file as you wish, by placing a semicolon at the beginning of each comment line. Blank lines are also permitted and are ignored. The file VGCleanUserSpecified.ini must be located in the same directory as VGClean.EXE.
You may start VGClean in 2 ways
(1) VGClean.EXE
Starts the program in normal interactive mode so that the user sees the main form and can adjust various items as needed.
(2) VGClean.EXE /noninteractive
Starts the program in noninteractive mode by using the command line parameter /noninteractive. VGClean will execute its pre-established default actions and terminate without user intervention. This is the command line employed when VGClean has been unsuccessful in performing all intended cleaning and, after it prompts you, you give it permission to schedule itself to run subsequently at bootup. The command to run at bootup is stored in registry entry \HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce. Don't permit this noninteractive mode to run until you have satisfied yourself that you have properly selected the various configuration options presented to the user in the main form. In Windows XP, the splash screen usually seen while VGClean runs noninteractively does not always display. A report is automatically created when running VGClean in noninteractive mode-- it is named VGCleanReport.txt and is located in the \Report\ subdirectory of the directory in which you have installed VGClean.exe.
If you have scheduled VGClean to run at bootup and subsequently decide you don't want this to happen, you will need to remove the corresponding registry entry in \HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce.
(This list does not include MS files including the VB runtime, or Microsoft setup files including the MS Scripting Runtime scrrun.dll.)
| File | Description |
| readme_vgclean.html | This file |
| VGClean.EXE | The executable application program |
| VGCleanUserSpecified.ini | Optional user-configurable file for specifying additional actions. This file must be located in the same directory as VGClean.EXE. |
| VGSelFil.DLL | Used for selecting a file or directory (automatically installed by setup.exe). |
| VG32.DLL | Contains general purpose utility functions (automatically installed by setup.exe). For more information, click on the link. |
| TABCTL32.OCX | Contains Tab Control used in main form (added in version 5.0) |
(This information is probably of interest only to the developer).
| DATE | VERSION | COMMENTS |
| 12/22/02 | 4.0 | Created this HTML Readme file. Many program changes. Noninteractive mode now automatically closes the splash form (and the program) after 2 second pause, and does not display the Main form at all. Added ProcessMozillaLocationBarURLs to remove user's Mozilla location bar URL information Moved global variables and routines Added error traps Can now save the report to a text file. Now completely purges all files from Netscape Newsgroups directory Omitted Symnatec routines Utilizes the File Scripting Object extensively now with new or revised global routines |
| 2/11/04 | 5.0 | Extensively revised for Windows XP Takes alternative approaches based on which OS is running (e.g., for emptying recycle bin). Added tab control to improve display of choices on main form. |
| 3/10/04 | 5.1 | When running noninteractively, automatically saves report to a subir of application directory "Reports". This is because the user receives no indication that the program is running in Windows XP as the splash screen does not show. This also confirms that problem files are being successfully deleted in XP. |
| 1/8/2005 | 5.2 | Revised handling of Mozilla location bar URL information for Mozilla 1.7.5 |
| 4/20/2005 | 5.2 | Fixed problem with setup program. |
| 10/22/2008 | 5.3 | Revised to not interrupt execution with message box alert if running noninteractively and program encounters locked files |
| 3/25/2010 | 5.6 | Added capability to process FilesToCopyAfterCleaning as specified in VGCleanUserSpecified.ini |
VGClean is copyrighted by Michael McGoodwin 1999-2010. The user is welcome to use VGClean without cost but may not charge to redistribute it.