windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/jpn/msproj95.cmd

111 lines
3.6 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@Echo Off
Rem #########################################################################
Rem
Rem %RootDrive% <20><><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>̃X<CC83>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>p<EFBFBD>ɐݒ肳<DD92><E882B3><EFBFBD>Ă<EFBFBD><C482><EFBFBD>Ƃ<EFBFBD><C682>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
Rem
Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
If "%_CHKROOT%" == "FAIL" Goto Done
Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
If "%_SETPATHS%" == "FAIL" Goto Done
Rem #########################################################################
Rem
Rem <20>X<EFBFBD>^<5E>[<5B>g<EFBFBD>A<EFBFBD>b<EFBFBD>v <20><><EFBFBD>j<EFBFBD><6A><EFBFBD>[<5B><><EFBFBD><EFBFBD> Find Fast <20><><EFBFBD><EFBFBD><ED8F9C><EFBFBD>܂<EFBFBD><DC82>BFind Fast <20>̓<EFBFBD><CD83>\<5C>[<5B>X
Rem <20><><EFBFBD>W<EFBFBD><57><EFBFBD>I<EFBFBD>Ɏg<C98E>p<EFBFBD><70><EFBFBD>A<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>̃p<CC83>t<EFBFBD>H<EFBFBD>[<5B>}<7D><><EFBFBD>X<EFBFBD>ɉe<C989><65><EFBFBD><EFBFBD><EFBFBD>y<EFBFBD>ڂ<EFBFBD><DA82>܂<EFBFBD><DC82>B
Rem
If Not Exist "%COMMON_STARTUP%\Find Fast <20>p<EFBFBD><70><EFBFBD>ޯ<EFBFBD><DEAF><EFBFBD>쐬°<EC90AC>.lnk" Goto Cont1
Del "%COMMON_STARTUP%\Find Fast <20>p<EFBFBD><70><EFBFBD>ޯ<EFBFBD><DEAF><EFBFBD>쐬°<EC90AC>.lnk" >Nul: 2>&1
:Cont1
If Not Exist "%USER_STARTUP%\Find Fast <20>p<EFBFBD><70><EFBFBD>ޯ<EFBFBD><DEAF><EFBFBD>쐬°<EC90AC>.lnk" Goto Cont2
Del "%USER_STARTUP%\Find Fast <20>p<EFBFBD><70><EFBFBD>ޯ<EFBFBD><DEAF><EFBFBD>쐬°<EC90AC>.lnk" >Nul: 2>&1
:Cont2
Rem #########################################################################
Rem
Rem <20><><EFBFBD>[<5B>U<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>Ɉړ<C988><DA93><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Rem
Rem <20><><EFBFBD>݁A<DD81>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><> <20><><EFBFBD>[<5B>h<EFBFBD>łȂ<C582><C882><EFBFBD>A<EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><> <20><><EFBFBD>[<5B>h<EFBFBD>ɕύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
Set __OrigMode=Install
ChgUsr /query > Nul:
if Not ErrorLevel 101 Goto Begin
Set __OrigMode=Exec
Change User /Install > Nul:
:Begin
Set __SharedTools=Shared Tools
If Not "%PROCESSOR_ARCHITECTURE%"=="ALPHA" goto acsrCont1
If Not Exist "%ProgramFiles(x86)%" goto acsrCont1
Set __SharedTools=Shared Tools (x86)
:acsrCont1
..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\msproj95.Key msproj95.tmp
..\acsr "#__SharedTools#" "%__SharedTools%" msproj95.tmp msproj95.Key
Del msproj95.tmp >Nul: 2>&1
regini msproj95.key > Nul:
Rem <20><><EFBFBD>̃<EFBFBD><CC83>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD>s<EFBFBD><73><EFBFBD>[<5B>h<EFBFBD>ɖ߂<C996><DF82>܂<EFBFBD><DC82>B
If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
Set __OrigMode=
Rem #########################################################################
Rem
Rem <20><><EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD>̓<EFBFBD><CD83>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>ɓǂݎ<C782><DD8E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Rem <20><><EFBFBD>[<5B>U<EFBFBD>[<5B>ɃA<C983>N<EFBFBD>Z<EFBFBD>X<EFBFBD><58><EFBFBD>^<5E><><EFBFBD>܂<EFBFBD><DC82>B
Cacls ..\Logon\Template\prj95usr.key /E /P "Authenticated Users":F >Nul: 2>&1
Rem #########################################################################
Rem
Rem proj95Usr.Cmd <20><> UsrLogn2.Cmd <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>ɒlj<C992><C789><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Rem
FindStr /I prj95Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
If Not ErrorLevel 1 Goto Skip2
Echo Call prj95Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
:Skip2
Rem #########################################################################
Echo.
Echo <20>Ǘ<EFBFBD><C797>҂͈ȉ<CD88><C889>̎菇<CC8E>ŁA<C581>X<C281>̃<EFBFBD><CC83>[<5B>U<EFBFBD>[<5B>ɌŗL<C597>̊<EFBFBD><CC8A><EFBFBD><EFBFBD>̃f<CC83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD>
Echo <20>ݒ肷<DD92><EFBFBD>Ƃ<EFBFBD><C682>ł<EFBFBD><C582>܂<EFBFBD>:
Echo.
Echo 1) [<5B>X<EFBFBD>^<5E>[<5B>g] <20>{<7B>^<5E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>E<EFBFBD>X<EFBFBD>̉E<CC89>{<7B>^<5E><EFBFBD><EFBFBD>ŃN<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><EFBFBD>B
Echo 2) <20>|<EFBFBD>b<EFBFBD>v<EFBFBD>A<EFBFBD>b<EFBFBD>v <20><><EFBFBD>j<EFBFBD><6A><EFBFBD>[<5B><><EFBFBD><EFBFBD> [<5B>G<EFBFBD>N<EFBFBD>X<EFBFBD>v<EFBFBD><76><EFBFBD>[<5B><> - All Users] <20><><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N
Echo <20><><EFBFBD><EFBFBD><EFBFBD>ƃG<C683>N<EFBFBD>X<EFBFBD>v<EFBFBD><76><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Echo 3) <20>E<EFBFBD><45><EFBFBD>̃E<CC83>B<EFBFBD><42><EFBFBD>h<EFBFBD>E<EFBFBD><45> [<5B>v<EFBFBD><76><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD>] <20>t<EFBFBD>H<EFBFBD><48><EFBFBD>_<EFBFBD><5F><EFBFBD>_<EFBFBD>u<EFBFBD><75><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>܂<EFBFBD><DC82>B
Echo 4) <20>E<EFBFBD><45><EFBFBD>̃E<CC83>B<EFBFBD><42><EFBFBD>h<EFBFBD>E<EFBFBD><45> [Microsoft Project] <20>A<EFBFBD>C<EFBFBD>R<EFBFBD><52><EFBFBD><EFBFBD><EFBFBD>}<7D>E<EFBFBD>X<EFBFBD>̉E<CC89>{<7B>^<5E><EFBFBD>
Echo <20>ŃN<C583><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>܂<EFBFBD><DC82>B
Echo 5) <20>|<EFBFBD>b<EFBFBD>v<EFBFBD>A<EFBFBD>b<EFBFBD>v <20><><EFBFBD>j<EFBFBD><6A><EFBFBD>[<5B><><EFBFBD><EFBFBD> [<5B>v<EFBFBD><76><EFBFBD>p<EFBFBD>e<EFBFBD>B] <20><><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>܂<EFBFBD><DC82>B
Echo 6) [<5B>V<EFBFBD><56><EFBFBD>[<5B>g<EFBFBD>J<EFBFBD>b<EFBFBD>g] <20>^<5E>u<EFBFBD><EFBFBD><EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>b<EFBFBD>N<EFBFBD><EFBFBD><EFBFBD>āA[<5B><><EFBFBD>ƃt<C683>H<EFBFBD><48><EFBFBD>_] <20>̃G<CC83><47><EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD> & Echo <20>ύX<CF8D><58><EFBFBD>A[OK] <20><><EFBFBD>N<EFBFBD><4E><EFBFBD>b<EFBFBD>N<EFBFBD><4E><EFBFBD>܂<EFBFBD><DC82>B
Echo.
Echo <20><><EFBFBD><EFBFBD>: %RootDrive% <20>͊e<CD8A><65><EFBFBD>[<5B>U<EFBFBD>[<5B><> <20>z<EFBFBD>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>Ɋ<EFBFBD><C98A><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82>B
Echo [<5B>J<EFBFBD>n<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>_] <20>ɂ<EFBFBD> "%RootDrive%\My Documents" <20>𐄏<EFBFBD><F090848F><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Echo.
Pause
Rem #########################################################################
Echo.
Echo Project 95 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɍ쓮<C98D><EC93AE><EFBFBD><EFBFBD>߂ɂ́A<CD81><41><EFBFBD>݃<EFBFBD><DD83>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD>
Echo <20><><EFBFBD>[<5B>U<EFBFBD>[<5B>̓A<CD83>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɁA<C981><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>񃍃O<F1838D83>I<EFBFBD>t<EFBFBD><74><EFBFBD><EFBFBD>
Echo <20><><EFBFBD><EFBFBD><EFBFBD>ēx<C493><78><EFBFBD>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Echo.
Echo Microsoft Project 95 <20>̃}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[ <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>‹<EFBFBD><C28B>ݒ肪<DD92><E882AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Pause
:Done