I’m trying to use a build system to copy the file that you would build to a specific directory using a batch file but it’s not quite working… I looked at the wiki to find what $File returns but all I could find was
The full path, including folder, to the file in the active view.
All the batch file does is
copy %1 C:\temp\domes
start C:\temp\domes\work.exe
And the build system is
“cmd”: [“C:/temp/inwork/dec.bat”, “$File”]
I thought this would work because if you run the batch with a file after it in cmd then it works fine. But if I build it, then the program starts but no file gets copied anywhere.
I know next to nothing about JSON or batch for that matter so any and all ideas are welcome