Convert files Unix to DOS
sed -e ‘s/$/\r/’
sed -e ‘s/$/\r/’
schtasks /create /tn “LOGON_AUTORUN” /tr C:\PATH\AUTORUN.CMD /sc ONLOGON /ru %AUTORUN_USER% /rp %AUTORUN_PASS% /rl highest /IT https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357
schtasks /create /tn “TASK NAME” /tr C:\PATH\BATCH.CMD /sc ONSTART /ru system /rl highest https://msdn.microsoft.com/en-us/library/windows/desktop/bb736357