summaryrefslogtreecommitdiff
path: root/deps/gyp/test/win/batch-file-action/somecmd.bat
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/win/batch-file-action/somecmd.bat')
-rw-r--r--deps/gyp/test/win/batch-file-action/somecmd.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/gyp/test/win/batch-file-action/somecmd.bat b/deps/gyp/test/win/batch-file-action/somecmd.bat
new file mode 100644
index 0000000000..d487753743
--- /dev/null
+++ b/deps/gyp/test/win/batch-file-action/somecmd.bat
@@ -0,0 +1,5 @@
+@echo off
+:: The redirs to nul are important. %2 can end up being an unterminated "'d
+:: string, so the remainder of the command line becomes the target file name,
+:: which in turn fails because it's a filename containing >, nul, etc.
+copy /y %1 %2 >nul 2>nul