I have an addon that runs a command everytime I hit save. I get the following error when I try to run a batch file on save:
The command autopush.bat was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\autopush.bat". See "get-help about_Command_Precedence" for more details.
My settings.json file:
{
"saveAndRun": {
"commands": [
{
"match": ".*",
"cmd": "autopush.bat",
"useShortcut": false,
"silent": false
}
]
}
}
I am not sure about how I can add a dot and backslash to "autostart.bat"
I tried with ".\b autostart.bat" but it didn't work.