Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
@echo off
Rem ######################################################################### Rem �����û�ģ�����Զ����ǵ�·�� Rem SET UserTemplatesPath=#USERTEMPLATESPATH# SET UserCustomDicPath=#USERCUSTOMDICPATH# SET UserCustomDicFile=%UserCustomDicPath%\#CUSTOMDICNAME# SET UserAppTemplatesPath=%UserTemplatesPath%\#APPPATHNAME# SET UserAppWebTemplatesPath=%UserTemplatesPath%\#APPWEBPATHNAME#
Rem ######################################################################### Rem ���ù���ģ�����Զ����ǵ�·�� Rem SET CommonTemplatesPath=#COMMONTEMPLATESPATH# SET CommonCustomDicPath=#COMMONCUSTOMDICPATH# SET CommonCustomDicFile=%CommonCustomDicPath%\#CUSTOMDICNAME# SET CommonAppTemplatesPath=%CommonTemplatesPath%\#APPPATHNAME# SET CommonAppWebTemplatesPath=%CommonTemplatesPath%\#APPWEBPATHNAME#
Rem #########################################################################
Rem Rem ���û�����Ŀ¼��ΪӦ�ó����������� Rem ����Ŀ¼�� Rem
call TsMkUDir "%UserTemplatesPath%" call TsMkUDir "%UserCustomDicPath%" call TsMkUDir "%RootDrive%\%MY_DOCUMENTS%"
Rem #########################################################################
Rem Rem �� Custom.dic �ļ����Ƶ��û���Ŀ¼ Rem
If Exist "%UserCustomDicFile%" Goto Skip1 If Not Exist "%CommonCustomDicFile%" Goto Skip1 Copy "%CommonCustomDicFile%" "%UserCustomDicFile%" >Nul: 2>&1 :Skip1
Rem #########################################################################
Rem Rem ��ģ�帴�Ƶ��û���ģ������ Rem
If Exist "%UserAppTemplatesPath%" Goto Skip2 If Not Exist "%CommonAppTemplatesPath%" Goto Skip2 xcopy "%CommonAppTemplatesPath%" "%UserAppTemplatesPath%" /E /I >Nul: 2>&1 :Skip2
if Exist "%UserAppWebTemplatesPath%" Goto Skip3 if Not Exist "%CommonAppWebTemplatesPath%" Goto Skip3 xcopy "%CommonAppWebTemplatesPath%" "%UserAppWebTemplatesPath%" /E /I >Nul: 2>&1 :Skip3
|