28 lines
591 B
Batchfile
28 lines
591 B
Batchfile
echo off
|
|
set T="c:\TEMP"
|
|
set TOOLS="c:\tools"
|
|
set SCRIPTS="c:\scripts"
|
|
|
|
echo ####### autounattend.cmd #######
|
|
|
|
echo deleting %TOOLS% and %SCRIPTS% ...
|
|
rd /S /Q %TOOLS%
|
|
rd /S /Q %SCRIPTS%
|
|
|
|
echo creating directories ...
|
|
mkdir %T% 1>nul 2>nul
|
|
mkdir %TOOLS% 1>nul 2>nul
|
|
mkdir %SCRIPTS% 1>nul 2>nul
|
|
mkdir %SCRIPTS%\conf 1>nul 2>nul
|
|
mkdir %SCRIPTS%\desktop 1>nul 2>nul
|
|
mkdir %SCRIPTS%\tweaks 1>nul 2>nul
|
|
|
|
echo getting TOOLS from webserver ...
|
|
ftp -i -s:autounattend.ftp
|
|
|
|
echo ####### autounattend.cmd #######
|
|
|
|
echo STARTING setup script...
|
|
call %SCRIPTS%\1st-setup.cmd
|
|
|