WhiteHatBox
Share Page
Following(0)
Partner(s)
varmy1234

Problem with CMD command

ReplyThanks 2021/03/06 17:04:38 0 0
I use the CMD command in the form functions to reset the Nord VPN software, but I have a problem that when using the debug project the operation works well, until I compile Project, the CMD command doesn't work. It seems that the CMD window is shut down too quickly when the command has not been completed. Specifically, I use 2 commands on the same command line:
cd "C: \ Program Files \ NordVPN \" && nordvpn -c -g "Spain"
That means when executing the command: cd "C: \ Program Files \ NordVPN \", then continue executing: nordvpn -c -g "Spain"
Please help me!
Ann Tong
2021/03/09 11:38:23
Debugging and running after compliation are used the same way, the effect should be the same. Please try to write two commands into one to see if it works: C:\Program Files\NordVPN\NordVPN.exe -c -g "Spain".
<< < 1> >>
VerifyCode
Advanced Option