Command line

BlitzPlus Forums/BlitzPlus Programming/Command line

just(Posted 2004) [#1]
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


semar(Posted 2004) [#2]
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.


soja(Posted 2004) [#3]
For reference, it is possible to run command line executables and read the output from them using CreateProcess and Readline (in BlitzPlus).


just(Posted 2004) [#4]
Thanks