Bold_Fortune Posted October 4, 2007 Share Posted October 4, 2007 Most people take this one for granted these days. They pass it around like it's Internet common knowledge. But it took me a very long time to figure out how to do this. I emailed script writers to help me. I bugged them half to death on forums. No one knew exactly how to do this. So, yes, this is my script...no matter who else you think created it.I have incorporated a failsafe feature into my batch files. Files and folders will be moved and saved (Not deleted permanently. Later that will be up to you.) to a backup folder on C:\. The backup folder is simply named "Backup". Within the Backup folder, you will find the files and folders you removed, in smart placement. Their order of appearance will be identical to how XP's files and folders appear on your C Drive. When you remove files and folders from the WINDOWS and system32 directories, in the Backup folder you will first see a WINDOWS folder. Within the WINDOWS folder you will see the individual files and subfolders you removed, including the system32 folder. And within the system32 folder you will see its individual files and subfolders you removed. The same applies to the Documents and Settings and the Program Files directories.I created this smart placement so you would always know exactly where these files and folders came from should you decide to replace any to their original locations.Here's an example to get you started on making one for yourself.IF NOT EXIST "%systemdrive%\backup\WINDOWS\system32" md %systemdrive%\backup\WINDOWS\system32MOVE %systemdrive%\WINDOWS\system32\jgaw400.dll %systemdrive%\backup\WINDOWS\system32\MOVE %systemdrive%\WINDOWS\system32\jgdw400.dll %systemdrive%\backup\WINDOWS\system32\MOVE %systemdrive%\WINDOWS\system32\jgmd400.dll %systemdrive%\backup\WINDOWS\system32\MOVE %systemdrive%\WINDOWS\system32\jgpl400.dll %systemdrive%\backup\WINDOWS\system32\MOVE %systemdrive%\WINDOWS\system32\jgsd400.dll %systemdrive%\backup\WINDOWS\system32\MOVE %systemdrive%\WINDOWS\system32\jgsh400.dll %systemdrive%\backup\WINDOWS\system32\ Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.