summaryrefslogtreecommitdiff
path: root/win32/mdelete.bat
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-07-02 06:25:22 +0000
committerGurusamy Sarathy <gsar@cpan.org>2001-07-02 06:25:22 +0000
commitf341dd84acf9fcf54aaae4728b96117b8fa43aea (patch)
tree33420c484dde2c0786124d547ea20a7b13d09f88 /win32/mdelete.bat
parentf5eac2152adebf3de703707e233f00e2cd249b47 (diff)
downloadperl-f341dd84acf9fcf54aaae4728b96117b8fa43aea.tar.gz
win32 tweaks: remove extra CRs from makefile.mk; move mdelete.bat
from win32/bin (or it gets deleted by distclean); don't delete lib/Cwd.pm during distclean; mdelete.bat doesn't work properly on NT (should be made Win9x specific, and added to makefile.mk) p4raw-id: //depot/perl@11064
Diffstat (limited to 'win32/mdelete.bat')
-rw-r--r--win32/mdelete.bat30
1 files changed, 30 insertions, 0 deletions
diff --git a/win32/mdelete.bat b/win32/mdelete.bat
new file mode 100644
index 0000000000..0e7e8bda0a
--- /dev/null
+++ b/win32/mdelete.bat
@@ -0,0 +1,30 @@
+@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
+