Search found 2 matches
- 01 May 2023 14:36
- Forum: DOS Batch Forum
- Topic: Batch file deletion
- Replies: 2
- Views: 5136
Re: Batch file deletion
Thanks for the hint @penpen, After searching high and low and learning new things, I managed to fix my issue. Updated script: @ECHO OFF setlocal EnableDelayedExpansion Set "CurrentFolder=C:\Documents and Settings\Administrator\Desktop\BatchTest\Test" CD /d %CurrentFolder% SET TODAY=%DATE:~7,2%-%DATE...
- 27 Apr 2023 22:43
- Forum: DOS Batch Forum
- Topic: Batch file deletion
- Replies: 2
- Views: 5136
Batch file deletion
Hi all, I am facing an issue with my batch script doing a file deletion on Windows XP. The script has 2 roles: 1) Archive all the files in the given directory and moved to a different location. 2) delete the original files with 2 exceptions with a specific filename: evs and inspection. This is the c...