summaryrefslogtreecommitdiff
path: root/win32/mdelete.bat
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-07-06 16:27:40 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-07-06 16:27:40 +0000
commitafd1eb533c8ea286efcac6fd054ae7cebaf0dfe3 (patch)
tree66cb10d223a1981deb58ec411ee25dad759b3f66 /win32/mdelete.bat
parent9ed1afdbc1bed7621d245b873ba48f50bcb0f262 (diff)
downloadperl-afd1eb533c8ea286efcac6fd054ae7cebaf0dfe3.tar.gz
Integrate mainline
p4raw-id: //depot/perlio@11183
Diffstat (limited to 'win32/mdelete.bat')
-rw-r--r--win32/mdelete.bat29
1 files changed, 29 insertions, 0 deletions
diff --git a/win32/mdelete.bat b/win32/mdelete.bat
new file mode 100644
index 0000000000..69a19b7637
--- /dev/null
+++ b/win32/mdelete.bat
@@ -0,0 +1,29 @@
+@echo off
+rem ! This is a batch file to delete all the files on its
+rem ! command line, to work around command.com's del command's
+rem ! braindeadness
+rem !
+rem ! -- BKS, 11-11-2000
+
+:nextfile
+set file=%1
+shift
+if "%file%"=="" goto end
+del %file%
+goto nextfile
+:end
+
+@echo off
+rem ! This is a batch file to delete all the files on its
+rem ! command line, to work around command.com's del command's
+rem ! braindeadness
+rem !
+rem ! -- BKS, 11-11-2000
+
+:nextfile
+set file=%1
+shift
+if "%file%"=="" goto end
+del %file%
+goto nextfile
+:end