I use this command to create a task:
schtasks /Create /TN ITCMD-CHAT-NOTIF /SC ONLOGON /tr "%cd%\Notif\Notif.vbs" /F
However a problem occurs. When there is a space in the path it still does not put quotes around the action. Is there a way to put quotes around the action?