Newbie - RUNPROGRAM Question
Posted: Mon Dec 16, 2002 3:34 am
I'm new to the programming field, and I figured QBasic was prolly as easy as it gets to learn some stuff. I've a couple questions... I'm trying to figure out how to run a program with certain perimeters, inside my program.
It starts out with the user entering an IP address. Once entered, my program takes the ip variable ( IP$ ) and enters it into the RUNPROGRAM parameters for NBTSTAT, which I want to do something like this...
RUN nbtstat - A IP$
So that it runs NBTSTAT with the -A parameters and pops in the IP from the variable. Now, I know this is prolly far from correct, but i'm new in the programming world so. I'm having kind of a hard time even explaining.
???
It starts out with the user entering an IP address. Once entered, my program takes the ip variable ( IP$ ) and enters it into the RUNPROGRAM parameters for NBTSTAT, which I want to do something like this...
RUN nbtstat - A IP$
So that it runs NBTSTAT with the -A parameters and pops in the IP from the variable. Now, I know this is prolly far from correct, but i'm new in the programming world so. I'm having kind of a hard time even explaining.
???