summaryrefslogtreecommitdiffstats
path: root/public/tools/ntadd.cmd
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/tools/ntadd.cmd
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'public/tools/ntadd.cmd')
-rw-r--r--public/tools/ntadd.cmd13
1 files changed, 13 insertions, 0 deletions
diff --git a/public/tools/ntadd.cmd b/public/tools/ntadd.cmd
new file mode 100644
index 000000000..b9586fab1
--- /dev/null
+++ b/public/tools/ntadd.cmd
@@ -0,0 +1,13 @@
+@if "%_echo%"=="" echo off
+setlocal
+set _NTADDDEL=%_NTDRIVE%\nt\ntadddel.cmd
+:loop
+if "%1" == "" goto done
+echo Placing ADDFILE %1 command in %_NTADDDEL%
+ech "cd " >>%_NTADDDEL%
+cd >>%_NTADDDEL%
+ech "addfile -c CommentHere %1" ; >>%_NTADDDEL%
+shift
+goto loop
+:done
+endlocal