1

im using this:

system("netsh wlan show profiles");

That command output the profiles on interface WLAN on the console and what i want to know is if there's a way to copy a user profile name from the console into a varibale.

2
  • You can't. You'll need a fork(), a pipe(), and one of the execxyz() functions to do that. Commented Dec 26, 2020 at 22:00
  • Look into the _popen function. Commented Dec 26, 2020 at 22:01

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.