41 lines
967 B
Batchfile
41 lines
967 B
Batchfile
|
@echo off
|
|||
|
Rem
|
|||
|
Rem <20>o<EFBFBD>ӫ<EFBFBD><D3AB>O<EFBFBD>ɷ|<7C><><EFBFBD>s Dr. Watson <20>w<EFBFBD>ˡC
|
|||
|
Rem <20><><EFBFBD>|<7C>N Log File Path <20><> Crash Dump File <20>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>ܧ<EFBFBD>
|
|||
|
Rem <20><><EFBFBD>ϥΪ̪<CEAA><CCAA>D<EFBFBD>ؿ<EFBFBD><D8BF>C
|
|||
|
Rem
|
|||
|
Rem <20>`<60>N<EFBFBD>A<EFBFBD>z<EFBFBD>]<5D>i<EFBFBD>H<EFBFBD><48><EFBFBD><EFBFBD> drwtsn32 <20><><EFBFBD>ܧ<EFBFBD><DCA7>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>m<EFBFBD>C
|
|||
|
Rem
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20>ˬd %RootDrive% <20>O<EFBFBD>_<EFBFBD>]<5D>w<EFBFBD>A<EFBFBD>ó]<5D>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɨϥΡC
|
|||
|
Rem
|
|||
|
|
|||
|
Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
|
|||
|
If "%_CHKROOT%" == "FAIL" Goto Done
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
|
|||
|
Rem <20>p<EFBFBD>G<EFBFBD>ثe<D8AB><65><EFBFBD>O<EFBFBD>w<EFBFBD>˼Ҧ<CBBC><D2A6>A<EFBFBD>ܧ<EFBFBD><DCA7><EFBFBD><EFBFBD>w<EFBFBD>˼Ҧ<CBBC><D2A6>C
|
|||
|
Set __OrigMode=Install
|
|||
|
ChgUsr /query > Nul:
|
|||
|
if Not ErrorLevel 101 Goto Begin
|
|||
|
Set __OrigMode=Exec
|
|||
|
Change User /Install > Nul:
|
|||
|
:Begin
|
|||
|
|
|||
|
..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\DrWatson.Key DrWatson.Key
|
|||
|
regini DrWatson.Key > Nul:
|
|||
|
|
|||
|
Rem <20>p<EFBFBD>G<EFBFBD>ثe<D8AB><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>l<EFBFBD>Ҧ<EFBFBD><D2A6>A<EFBFBD>ܧ<EFBFBD><DCA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҧ<EFBFBD><D2A6>C
|
|||
|
If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
|
|||
|
Set __OrigMode=
|
|||
|
|
|||
|
|
|||
|
Echo Dr. Watson <20>h<EFBFBD>ϥΪ<CFA5><CEAA><EFBFBD><EFBFBD>ε{<7B><><EFBFBD>վ<EFBFBD><D5BE>B<EFBFBD>z<EFBFBD><7A><EFBFBD><EFBFBD>
|
|||
|
Pause
|
|||
|
|
|||
|
:Done
|