I'd like to see what you all do for a cleanup script. Ya know for those lil pcs that you've found that just don't totally go away.
This is my sloppy first version: (Sitting in \PortableApps\EjectScript\App\EjectScript
@ECHO OFF TITLE Eject Black Box Batch File cd.. cd.. cd.. cd.. START PortableApps\TrueCrypt\App\TrueCrypt\TrueCrypt.exe /q /d /w DEL /A:H "%APPDATA%\xpy.ini" DEL "%APPDATA%\xpy.ini" RMDir /S /Q "%APPDATA%\Google" RMDir /S /Q "%APPDATA%\Mozilla" RMDir /S /Q "%APPDATA%\SiteAdvisor" RMDir /S /Q "%APPDATA%\Talkback" RMDir /S /Q "%APPDATA%\TrueCrypt" RMDir /S /Q "%APPDATA%\X-Setup Pro" :next - for FFP CACHE RMDir /S /Q C:\PortableApps Temp\ RMDir /S /Q C:\Program Files\EUSING~1 START PortableApps/EjectScript\App\EjectScript\EjectScript.exe EXIT
[Code goes in PRE tags - RM]
I would like to figure out how to call this without the four "CD.."
cd ..\..\..\.. would replace it. and in some cases, when a local version is installed, we don't want to remove the directories, in those cases, the launcher creates a backup of the local settings, puts the portable ones in place, and then when the portable app is closed, restores the originals
The developer formerly known as ZGitRDun8705
I'd considered that, but just hadn't gotten that far.
Part of writing programs for CAD I need to save all the current variables, replace with my needed variables, run the program, and put everything back.