summaryrefslogtreecommitdiff
path: root/tools/gyp/test/win/batch-file-action/somecmd.bat
blob: 3b5ae80a42cca8cd6f9085312400c175e64aad74 (plain)
1
2
3
4
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