Move settings.cmd #44

This commit is contained in:
Michael H.G. Schmidt 2022-06-21 22:55:51 +02:00
parent aede18d480
commit 8394915660
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
set SOURCES=c:\TEMP\W10\sources set SOURCES=c:\TEMP\W10\sources
set BOOT=boot.wim set BOOT=boot.wim
set IMAGE=install.esd set IMAGE=install.esd
set SETTINGS=settings.cmd set SCRIPT_SETTINGS=scripts\settings.cmd
set COMPANY_SETTINGS=company\settings.cmd set COMPANY_SETTINGS=company\settings.cmd
IF %1.==. GOTO USAGE IF %1.==. GOTO USAGE
@ -12,8 +12,8 @@ rem CONFIGFILE CHECK
rem =================== rem ===================
rem GLOBAL settings ... rem GLOBAL settings ...
if EXIST %SETTINGS% ( if EXIST %SCRIPT_SETTINGS% (
call %SETTINGS% call %SCRIPT_SETTINGS%
) else ( ) else (
set LANG=en-US set LANG=en-US
) )
@ -145,10 +145,10 @@ for %%P in (drivers scripts source optional personal company) do (
) )
) )
if EXIST settings.cmd ( if EXIST %SCRIPT_SETTINGS% (
echo. echo.
echo copying settings file to drive %USBDRIVE% ... echo copying settings file to drive %USBDRIVE% ...
copy /Y settings.cmd %USBDRIVE%\tools\scripts copy /Y %SCRIPT_SETTINGS% %USBDRIVE%\tools\scripts
) )
echo. echo.

View File

@ -302,7 +302,7 @@ So my advice is: upload the software to your own ftp server or create a local co
Uploading all the software to your own server is easy. Just create the folder "personal" (in w10install) and put a config file named "ftpsettings.cmd" in it: Uploading all the software to your own server is easy. Just create the folder "personal" (in w10install) and put a config file named "ftpsettings.cmd" in it:
Example for w10install\ftpsettings.cmd: Example for personal\ftpsettings.cmd:
```text ```text
FTP_SERVER=example.com FTP_SERVER=example.com
FTP_PATH=/path/to/directory/w10install/W1020H2v1 FTP_PATH=/path/to/directory/w10install/W1020H2v1