Anyone know what cause this happen?
When I ran a script and I got what I expected but at the beginning shows this as below, I can ignore but I would rather to know what was the cause....
>var2cfg.cmd (just after I ran this script, see code below) the following was displayed on the screen at the beginning
>ott:: -----------------------------------------------------------------------------------------
The filename, directory name, or volume label syntax is incorrect.
Code: Select all
@ECHO OFF
if exist srcfg.cmd (del srcfg.cmd)
rename varsrc11.txt srcfg.cmd
call srcfg.cmd :: call C:\auto_pkg_build\Scripts\single_comp\srcfg.cmd
set VARSRC5=%VARSRC5: =%
if "%VARSRC5%" == "SL_customer" goto SL
if "%VARSRC5%" == "DL_customer" goto DL
:SL
if exist SL_customer.TXT (del SL_customer.TXT)
ECHO {>> SL_customer.TXT
ECHO "P3A": %VAR1%, >> SL_customer.TXT
ECHO "Packager": %VAR2%, >> SL_customer.TXT
ECHO "Scheme": %VAR3%, >> SL_customer.TXT
ECHO "SingleList": %VAR4%, >> SL_customer.TXT
ECHO "SingleRemove": %VAR5%, >> SL_customer.TXT
ECHO "ExtraList": %VAR7% >> SL_customer.TXT
ECHO }>> SL_customer.TXT
if exist replacesingle.cfg (del replacesingle.cfg)
rename SL_customer.TXT replacesingle.cfg
copy replacesingle.cfg C:\auto_pkg_build\Tools\PACKAGER\
goto end
:DL
if exist DL_customer.TXT (del DL_customer.TXT)
ECHO {>> DL_customer.TXT
ECHO "P3A": %VAR1%, >> DL_customer.TXT
ECHO "Packager": %VAR2%, >> DL_customer.TXT
ECHO "Scheme": %VAR3%, >> DL_customer.TXT
ECHO "SingleList": %VAR4%, >> DL_customer.TXT
ECHO "SingleRemove": %VAR6%, >> DL_customer.TXT
ECHO "ExtraList": %VAR7% >> DL_customer.TXT
ECHO }>> DL_customer.TXT
if exist replacedouble.cfg (del replacedouble.cfg)
rename DL_customer.TXT replacedouble.cfg
copy replacedouble.cfg C:\auto_pkg_build\Tools\PACKAGER\
goto end
:end