How do i use parameters in a system call?
For example: ipconfig /all
spockenheit
0
Newbie Poster
Recommended Answers
Jump to Postyou have to create one string that contains all the parameters. For example
system("ipconfig /all ");
Jump to PostCould be a problem with either surrounding your path with quotes or not putting double backslashes to separate the directories I think.
What's your path?
All 6 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
spockenheit
0
Newbie Poster
iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
iamthwee
Duoas
1,025
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.