summaryrefslogtreecommitdiffstats
path: root/public/tools/ntdel.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'public/tools/ntdel.cmd')
-rw-r--r--public/tools/ntdel.cmd15
1 files changed, 15 insertions, 0 deletions
diff --git a/public/tools/ntdel.cmd b/public/tools/ntdel.cmd
new file mode 100644
index 000000000..c62a8ed3c
--- /dev/null
+++ b/public/tools/ntdel.cmd
@@ -0,0 +1,15 @@
+@if "%_echo%"=="" echo off
+setlocal
+set _NTADDDEL=%_NTDRIVE%\nt\ntadddel.cmd
+:loop
+if "%1" == "" goto done
+echo Placing DELFILE %1 command in %_NTADDDEL%
+ech "cd " >>%_NTADDDEL%
+cd >>%_NTADDDEL%
+ech "delfile -c CommentHere %1" ; >>%_NTADDDEL%
+chmode -r %1
+del %1
+shift
+goto loop
+:done
+endlocal