Isso pode ser feito aninhando os dois caracteres de aspas diferentes. ( "'
seguido por '"
ou "\"
seguido por \""
)
schtasks /Create /TN ITCMD-CHAT-NOTIF /SC ONLOGON /tr "'%cd%\Notif\Notif.vbs'" /F
Da documentação de schtasks
:
==> Spaces in file paths can be used by using two sets of quotes, one set for CMD.EXE and one for SchTasks.exe. The outer quotes for CMD need to be double quotes; the inner quotes can be single quotes or escaped double quotes: SCHTASKS /Create /tr "'c:\program files\internet explorer\iexplorer.exe' \"c:\log data\today.xml\"" ...