repath RebuildDailies

This commit is contained in:
Nathan
2025-08-15 12:14:56 -06:00
parent 86a8679553
commit fb9756bdb8

View File

@@ -3,8 +3,8 @@ echo RebuildDailies - Copying 0MoveToCurrent.bat to all daily_* folders...
echo.
REM Check if source file exists
if not exist "A:\1 Amazon_Active_Projects\0MoveToCurrent.bat" (
echo ERROR: Source file "A:\1 Amazon_Active_Projects\0MoveToCurrent.bat" not found!
if not exist "A:\1 Amazon_Active_Projects\3 ProjectStructure\scripts_old\0MoveToCurrent.bat" (
echo ERROR: Source file "A:\1 Amazon_Active_Projects\3 ProjectStructure\scripts_old\0MoveToCurrent.bat" not found!
pause
exit /b 1
)
@@ -25,7 +25,7 @@ REM Copy the file to each daily_* folder found recursively
set /a count=0
for /f "delims=" %%D in ('dir /s /b /ad "*daily_*" 2^>nul') do (
echo Copying to %%D...
copy /Y "A:\1 Amazon_Active_Projects\0MoveToCurrent.bat" "%%D\" >nul
copy /Y "A:\1 Amazon_Active_Projects\3 ProjectStructure\scripts_old\0MoveToCurrent.bat" "%%D\" >nul
if errorlevel 1 (
echo ERROR: Failed to copy to %%D
) else (