yes that normally works but for usage in turionpowercontrol( TPC), it doesn't work, I have to open an admin cmd then cd to where TPC is and then it will work
Did you try to run the task elevated but in user context, not system one: Code: SCHTASKS /CREATE /TN "3p4" /TR "%userprofile%\Desktop\tpc-0.44-rc2\bin\Windows-amd64\3p4.bat" /SC ONLOGON /RU "" /RL Highest /F
Indeed: Code: -------------------------------------------------------------------------------- SYSTEM VARIABLES -------------------------------------------------------------------------------- SYSTEM: %systemdrive% > C: %homedrive% > C: %windir% > C:\Windows %systemroot% > C:\Windows %programfiles% > C:\Program Files %programfiles(x86)% > C:\Program Files (x86) %commonprogramfiles% > C:\Program Files\Common Files %programdata% > C:\ProgramData %allusersprofile% > C:\ProgramData USER: %userprofile% > C:\Users\s1ave77 %homepath% > \Users\s1ave77 %appdata% > C:\Users\s1ave77\AppData\Roaming %localappdata% > C:\Users\s1ave77\AppData\Local %public% > C:\Users\Public -------------------------------------------------------------------------------- BTW: Ancient expression %homepath% needs %homedrive% in front to be a path (i.e. %homedrive%%homepath%) .