sc.exe is a standard Windows CLI (console application) that manages Windows services. Use this tag for questions regarding sc.exe.
Questions tagged [sc.exe]
16 questions
0
votes
1 answer
LocalApplicationData is different in service programs than in console apps
I am creating a service that access a folder path:
string localAppDataFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
Unfortunately, the folder returned is not:
C:\Users\mainuser\AppData\Local
... but:…

Robert Segdewick
- 543
- 5
- 17