mirror of
https://github.com/arkuznetsov/1CFilesConverter.git
synced 2024-11-24 08:33:30 +02:00
fix: Изменен способ очистки каталогов назначения.
This commit is contained in:
parent
bea0c5b490
commit
128173bda5
@ -88,7 +88,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_CONF_EDT_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_CONF_EDT_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Checking configuration source type...
|
||||
|
@ -87,7 +87,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_CONF_XML_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_CONF_XML_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Checking configuration source type...
|
||||
|
@ -101,7 +101,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_DP_EDT_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_DP_EDT_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Set infobase for export data processor/report...
|
||||
|
@ -101,7 +101,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_DP_BIN_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_DP_BIN_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Set infobase for export data processor/report...
|
||||
|
@ -100,7 +100,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_DP_XML_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_DP_XML_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Set infobase for export data processor/report...
|
||||
|
@ -113,7 +113,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_EXT_EDT_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_EXT_EDT_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Set infobase for export configuration extension...
|
||||
|
@ -112,7 +112,10 @@ IF %ERROR_CODE% neq 0 (
|
||||
echo [INFO] Clear temporary files...
|
||||
IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%"
|
||||
md "%LOCAL_TEMP%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_EXT_XML_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%"
|
||||
IF exist "%V8_DST_PATH%" IF "%V8_EXT_XML_CLEAN_DST%" equ "1" (
|
||||
del /f /s /q "%V8_DST_PATH%\*.*" > nul
|
||||
rd /S /Q "%V8_DST_PATH%"
|
||||
)
|
||||
IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%"
|
||||
|
||||
echo [INFO] Set infobase for export configuration extension...
|
||||
|
Loading…
Reference in New Issue
Block a user