We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa5318 commit 7fcdd2fCopy full SHA for 7fcdd2f
1 file changed
psa/Program.cs
@@ -11,7 +11,7 @@ static void Main()
11
{
12
StartInfo =
13
14
- FileName = @"C:\Windows\System32\WindowsPowerShell\v1.0",
+ FileName = @"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe",
15
UseShellExecute = true,
16
Verb = "runas",
17
Arguments = $"-noexit -command \"cd '{Directory.GetCurrentDirectory()}'\" "
0 commit comments