Codesnippets > Macros
Create Backup in /project/backup directory.
(1/1)
Hemlos:
Not trying to compete here, i didnt see the other backup macro until i came here to post mine.
Remove the "pause" line if you just want it to copy and close the window automatically.
--- Code: (glbasic) ---:: Create \Backup directory and copy project root files to it.
@Echo off
TITLE BACKUP PROJECT FILES.
color 1E
prompt $s
md Backup
copy "%GLB_PROJ_PATH%\*.*" "%GLB_PROJ_PATH%\Backup\"
cd Backup
cls
echo *==========================================================*
echo * *
echo * Contents of Backup Directory: *
echo * *
echo *==========================================================*
dir/c/on
echo .
pause
--- End code ---
Navigation
[0] Message Index
Go to full version