copying settings on evaluation versions

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
paulb
Posts: 3
Joined: Wed Nov 07, 2007 4:57 pm

copying settings on evaluation versions

Post by paulb »

Is there any way of copying settigns between evaluation versions on different PCs?

This is part my evaluation as far as I am concerned!!!

Thanks in advance
Paul
User avatar
Cloink
Posts: 81
Joined: Thu Sep 09, 2004 1:44 pm

Post by Cloink »

If this reply isn't way too late for you...

I have a TextPad backup script in the event of my hard disk dying which could double as a "Settings export" script. It has in it these commands...

Code: Select all

REM Hierarchy has been considered here, if get something new with same name
REM it will get put in the user-directory; and new syntax def'ns I think go in ...\system.
CD <..to wherever..>
XCOPY D:\TextPad\Samples\*.* /E /D /G /H /R /K /Y
XCOPY D:\TextPad\system\*.syn /E /D /G /H /R /K /Y
XCOPY "C:\Documents and Settings\Cloink\Application Data\TextPad\*.*" /E /D /G /H /R /K /Y
DEL TP_REGISTRY_OLD.reg
RENAME TP_REGISTRY.reg TP_REGISTRY_OLD.reg
REG EXPORT "HKEY_CURRENT_USER\Software\Helios\TextPad 5" "TP_REGISTRY.reg"

REM Keep an extra prev-version copy of the TextPad workspace,
REM since when it goes tae feck, it goes to feck AS we just saved it, so now
REM we're about to overwrite the backup with the potentially fecked version.

CALL "DATE_YYYYMMDD.bat"
CALL "TIME_HHMM.bat"
ECHO Date is "%DATE_YYYYMMDD%"
ECHO Time is "%TIME_HHMM%"
COPY /Y CloinkSoft.tws OtherStuffToBackup\TextPad\CloinkSoft_BAK_%DATE_YYYYMMDD%%TIME_HHMM%.tws
Note that this is part of a bigger script and the workspace file referred to is copied as a matter of course as part of a wider directory backup - if you use workspaces, backup/export those too.

The DATE...bat & TIME...bat scripts create the environment vars used in the backup tws filename. Since creating them I've found there is a much easier way to achieve this, but can't say off the top of my head.

Finally, whilst I thoroughly recommend TextPad, it does have an annoying habit of corrupting your workspace files, hence the date/time backup copies - my backup script runs every two hours.

And make sure your license covers >1 PC.
Post Reply