BUMP to see if any one can help?
Currently my .bat file is:
"wget.exe" "https://drive.google.com/uc?export=download&id=1GfARdi3WQaCnxolZxL5Gnxamr" --output-document "%~dp0\packagetest.nw"
This works when double clicking the file in explorer.
When adding a command in C2 to run this:
"""" & NWjs.AppFolder & """" & "update.bat" & """" & """"
It doesnt action it.
Ashley is there something different by using NWJS to run a .bat file that is stopping this?
Update:
I have got it working but only when the project is placed in a location with no spaces in the directory "C:\test" for example.
My C2 command is currently:
"start " & NWjs.AppFolder & "update.bat"
I just have not been able to get the double quotation marks in the right place to get this working for all locations?
Currently I have tried:
"start " & """" & NWjs.AppFolder & """" & "update.bat"
"start " & """" & NWjs.AppFolder & "update.bat" & """"
"""" & "start " & NWjs.AppFolder & "update.bat" & """"