0

dig for windows works in cmd, but it doesn't work in system()

This is in cmd: enter image description here

This is my code:

system("  \"C:\\Windows\\System32\\dig.exe google.com\"  ");

and the result: enter image description here

Nephophile
  • 59
  • 1
  • 10
zawalida
  • 21
  • 3

0 Answers0