So I'm trying to create a scheduled task using batch in a powershell script because I cant use the powershell method, due to the fact that my company is using the outdated windows server 2008. For some reason ISE is not finding the new-scheduledtask command. Even though I have powershell 4.0 installed and have tried to update the help and nothing works. Here is what i have so far on creating the scheduled task:
&schtasks /create /tn "ExtractSSRSData" /tr "C:\Program Files\company\HTFS.Job.Launcher\HTFS.Common.Job.Launcher.exe" /sc "DAILY".
For some reason when this creates the task, the path gets cut in half and part goes into the file path field and the other ends up in the arguments field (as screen shot below). I also don't know the argument to add arguments to a task in batch. 
Also i have these arguments that need to go into the add arguments window how do i get them there in batch? SetSSRSDataInDb admin "CompanyCode=company"
SetSSRSDataInDb admin "CompanyCode=company"&schtasks /create /tn \"ExtractSSRSData\" /tr \"C:\Program Files\company\HTFS.Job.Launcher\HTFS.Common.Job.Launcher.exe\" /sc \"DAILY\". See: stackoverflow.com/questions/34276662/…