Captjlddavis has created the below posted batch file. This file will delete the Cache Folder, history.dat and XUL.mfl files, and then will back up the salted folder. We have been collaberating on this project for the last couple of days. We both were using a batch file for the cleanup, and Captjlddavis was innovative enough to add to the batch file, the backup of the salted folder.
I've been testing the files for him as he has done the refining. Certainly no problems with using the batch file, not to mention the convenience... That was my collaberation, and he did the development!
Would any of you be interested in testing, or using the batch file, and giving some feedback? If so, then paste the below data into Notepad, and save the file as nsbak.bat. You must also create a destination folder for the backup that will be created.
If you have more questions, let me know, and perhaps Antony would be kind enough to let Captjlddavid have access to this Forum, in order to answer any questions you might have. I would very much like to add this file to my Solutions page, but Captjlddavis felt that more user testing was in order first.
Thanks,
Ramona
- Code: Select all
::nsbak.bat
::*********************************************************************************
::* For this batch file to function properly, ALL Netscape files MUST be closed. *
::* Including AIM and Quick Launch. *
::* To use for different Profiles - EDIT the"set profilename=<profile name>" and *
::* "set salted =<salted>.slt" lines below. To change Destination - Edit the *
::* "set where=<destination>" line It appears that the distination Folder has to *
::* be ONLY one word- something to do with the xcopy command - You can use *
::* some punctuation "-" , "_",but NOT "/" *
::* *
::*********************************************************************************
set profilename=jim
set salted=xqwzlbyn.slt
set where=e:\jims-ns_bak'up
deltree /y c:\windows\applic~1\mozilla\profiles\%profilename%\%salted%\cache
deltree /y c:\windows\applic~1\mozilla\profiles\%profilename%\%salted%\history.dat
deltree /y c:\windows\applic~1\mozilla\profiles\%profilename%\%salted%\xul.mfl
:: deletes cache, history and xul.mfl before copying
xcopy "c:\windows\applic~1\mozilla\profiles\%profilename%\%salted%\" %where% \%profilename%\ /s /q /h /e
::/h switch Includes files with hidden and system attributes set.
::This switch does function in Dos mode when using the WindowsME version of XCOPY.
::/e switch copies empty folders
::/q switch supresses copying info on screen
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (CK-profman)


