Command line

BlitzPlus Forums/BlitzPlus Programming/Command line

Hi,

Using B+ on XP is it possible to run the command line

ipconfig | find "IP Address"

Then read the resulting ip address in to a variable.

Many thanks

In the code archive there's this good example:
http://www.blitzbasic.com/codearcs/codearcs.php?code=152
it shows also commands to retrieve the IP address.

The code archive is a goldmine of hints...

Sergio.

For reference, it is possible to run command line executables and read the output from them using CreateProcess and Readline (in BlitzPlus).

Thanks