VuGen - How to run System-Command under System32 cmd.exe?
is it possible to execute the system (or popen) command in VuGen running the cmd.exe prompt under C:\Windows\System32\cmd.exe? Currently it always starts a process under C:\Windows\SysWOW64.
The ps1 Skript I need to execute just runs in system32. I have tested that manually.
Setting the full path (e.g. system("C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe -File C:\Temp\Powershell.ps")) doesn't work.
Re: VuGen - How to run System-Command under System32 cmd.exe?
Try via indirection:
system("cmd.exe /c put-here-your-command-with-arguments");
examine the cmd.exe options.
Reward community members who take time to respond and help.