From 8394915660beaf314579785be9adc76235da50aa Mon Sep 17 00:00:00 2001 From: "Michael H.G. Schmidt" Date: Tue, 21 Jun 2022 22:55:51 +0200 Subject: [PATCH] Move settings.cmd #44 --- 06_Copy2Stick.cmd | 10 +++++----- README.md | 2 +- settings.cmd => scripts/settings.cmd | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename settings.cmd => scripts/settings.cmd (100%) diff --git a/06_Copy2Stick.cmd b/06_Copy2Stick.cmd index ec6c63e..8fb65c6 100644 --- a/06_Copy2Stick.cmd +++ b/06_Copy2Stick.cmd @@ -2,7 +2,7 @@ set SOURCES=c:\TEMP\W10\sources set BOOT=boot.wim set IMAGE=install.esd -set SETTINGS=settings.cmd +set SCRIPT_SETTINGS=scripts\settings.cmd set COMPANY_SETTINGS=company\settings.cmd IF %1.==. GOTO USAGE @@ -12,8 +12,8 @@ rem CONFIGFILE CHECK rem =================== rem GLOBAL settings ... -if EXIST %SETTINGS% ( - call %SETTINGS% +if EXIST %SCRIPT_SETTINGS% ( + call %SCRIPT_SETTINGS% ) else ( 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 copying settings file to drive %USBDRIVE% ... - copy /Y settings.cmd %USBDRIVE%\tools\scripts + copy /Y %SCRIPT_SETTINGS% %USBDRIVE%\tools\scripts ) echo. diff --git a/README.md b/README.md index d32c694..ad30a4d 100644 --- a/README.md +++ b/README.md @@ -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: -Example for w10install\ftpsettings.cmd: +Example for personal\ftpsettings.cmd: ```text FTP_SERVER=example.com FTP_PATH=/path/to/directory/w10install/W1020H2v1 diff --git a/settings.cmd b/scripts/settings.cmd similarity index 100% rename from settings.cmd rename to scripts/settings.cmd