Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

C++ I/O with command prompt


ghost's Avatar
0 0

Lets say I'm using a command such as system("ipconfig") on a windows machine, how might I go about taking the information given from using ipconfig and storing it in a text file? Is this even possible?


ghost's Avatar
0 0

Use redirects. For example > is write to, and >> is append.

markupipconfig > output.txt


fashizzlepop's Avatar
Member
0 0

Or look for a way to do this without limiting your host OS?