You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to change the Environment.CurrentDirectory + filename
become Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + filename.
Then it only able to find the file for both normal mode & elevated mode.
===
This is a great program. Thanks.
The text was updated successfully, but these errors were encountered:
When we only put filename, and run silentCMD under elevated mode (run as administrator), it cannot find the file.
I have to change the
Environment.CurrentDirectory
+ filenamebecome
Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
+ filename.Then it only able to find the file for both normal mode & elevated mode.
===
This is a great program. Thanks.
The text was updated successfully, but these errors were encountered: