Windows task scheduler System.IO.Directory.GetCurrentDirectory()

Note

When you start your exe by Windows Task Scheduler, Directory Parent will returns C:\Windows\System32.

Double click C:\app.exe -> System.IO.Directory.GetCurrentDirectory() ->C:\
Task scheduler C:\app.exe -> System.IO.Directory.GetCurrentDirectory() ->C:\Windows\System32

No comments

Powered by Blogger.