windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/cht/ss9usr.cmd

44 lines
1.3 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@echo off
Rem
Rem #########################################################################
Rem
Rem <20>q<EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>o Lotus Wordpro 9 <20>w<EFBFBD>˦<EFBFBD><CBA6>m<EFBFBD>C
Rem
..\ACRegL "%Temp%\wordpro.Cmd" WP "HKLM\Software\Lotus\Wordpro\98.0" "Path" ""
Call "%Temp%\wordpro.Cmd"
Del "%Temp%\wordpro.Cmd" >Nul: 2>&1
Call "%SystemRoot%\Application Compatibility Scripts\RootDrv.cmd"
if Exist "%RootDrive%\Lotus" Goto Done
cd "%SystemRoot%\Application Compatibility Scripts\Logon"
call TsMkUDir "%RootDrive%\Lotus\Work\123\Auto"
call TsMkUDir "%RootDrive%\Lotus\work\approach"
call TsMkUDir "%RootDrive%\Lotus\work\flg"
call TsMkUDir "%RootDrive%\Lotus\backup\flg"
call TsMkUDir "%RootDrive%\Lotus\work\organize"
call TsMkUDir "%RootDrive%\Lotus\backup\organize"
call TsMkUDir "%RootDrive%\Lotus\work\smartctr"
call TsMkUDir "%RootDrive%\Lotus\work\wordpro"
call TsMkUDir "%RootDrive%\Lotus\backup\wordpro"
Rem <20>p<EFBFBD>G Lotus Wordpro <20>å<EFBFBD><C3A5>w<EFBFBD>ˡA<CBA1>N<EFBFBD><4E><EFBFBD>L<EFBFBD>o<EFBFBD>ӨB<D3A8>J<EFBFBD>C
If "%WP%A" == "A" Goto Skip1
Rem set the registry keys defined in the following files because for some reasons, wordpro doesn't set them
set List1="%WP%\expcntx.reg" "%WP%\ltsfills.reg" "%WP%\ltscorrt.reg" "%WP%\lwp4wp.reg" "%WP%\lwp4wpex.reg"
set List2="%WP%\lwpdca.reg" "%WP%\lwphtml.reg" "%WP%\lwpimage.reg" "%WP%\lwptools.reg"
regedit /s %List1% %List2%
:Skip1
regedit /s ss9usr.reg
:Done