diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-02 06:25:22 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2001-07-02 06:25:22 +0000 |
commit | f341dd84acf9fcf54aaae4728b96117b8fa43aea (patch) | |
tree | 33420c484dde2c0786124d547ea20a7b13d09f88 /win32/mdelete.bat | |
parent | f5eac2152adebf3de703707e233f00e2cd249b47 (diff) | |
download | perl-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.bat | 30 |
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
+
|