J
J44xm
["J44xm"; Wed, 17 Aug 2005 19:38:14 GMT]
I've got a pretty decent solution going:
From pegasus-mail_registry-mod.bat
The great thing is that I can use my portable launcher, TrayBar, to launch
this batch file hidden. The batch file sits, hidden, while I use Pegasus
Mail, and then cleans up once I close the program. That's pretty cool.
I'm working on portable-fying some of my applications. My primary focus is
Pegasus Mail.
I've got a pretty decent solution going:
From pegasus-mail_registry-mod.bat
@echo off
if exist %windir%\system32\reg.exe (set regapp=%windir%\system32\reg.exe)
else (set regapp=reg.exe)
%regapp% export "HKCU\Software\Pegasus Mail" pmail-original.reg
%regapp% delete "HKCU\Software\Pegasus Mail" /f
%regapp% import pmail.reg
start /max /wait \APPLIC~1\_INTER~1\PEGASU~1.30B\winpm-32.exe
%regapp% export "HKCU\Software\Pegasus Mail" pmail.reg
%regapp% delete "HKCU\Software\Pegasus Mail" /f
if exist pmail-original.reg %regapp% import pmail-original.reg
del pmail-original.reg >nul
set regapp=
echo Done.
The great thing is that I can use my portable launcher, TrayBar, to launch
this batch file hidden. The batch file sits, hidden, while I use Pegasus
Mail, and then cleans up once I close the program. That's pretty cool.