{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "my task",
"type": "shell",
"command": "${workspaceFolder}/abc/mytask.bat",
"options": {
"cwd": "${workspaceFolder}/abc/"
}
}
]
}
La ruta de trabajo cwd se configura aquí para garantizar que la ruta utilizada en el procesamiento por lotes sea correcta.