🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by Barata Thu, 04 Dec 1997 00:00
COULD YOU HELP ME PLEASE?
#658
Author: Barata
Date: Thu, 04 Dec 1997 00:00
11 lines
965 bytes
I'm sorry for this lamer question, but... I wonder If you could tell me if
I can do something like this work in Qbasic 4.5?


PRINT "adress ";
INPUT adress
SHELL ping adress


Thanks.. :-)
Re: COULD YOU HELP ME PLEASE?
#657
Author: Sammy
Date: Thu, 04 Dec 1997 00:00
27 lines
1291 bytes
CLS
INPUT " Address" Add$
PRINT Add$
END

I'm sure what SHELL ping address is.......

hth
Sammy


Barata <mop07498@mail.telepac.pt> wrote in article
<01bd0052$e7432ee0$d7f141c2@default>...
> I'm sorry for this lamer question, but... I wonder If you could tell me
if
> I can do something like this work in Qbasic 4.5?
> 
> 
> PRINT "adress ";
> INPUT adress
> SHELL ping adress
> 
> 
> Thanks.. :-)
> 
> 
Re: COULD YOU HELP ME PLEASE?
#659
Author: Rob Davis
Date: Thu, 04 Dec 1997 00:00
25 lines
1447 bytes
Remove MAPSON if replying via email
> I'm sorry for this lamer question, but... I wonder If you could tell me if
> I can do something like this work in Qbasic 4.5?
> 
> 
> PRINT "adress ";
> INPUT adress
> SHELL ping adress

In QuickBASIC:-

INPUT "Enter the address ", Address$
SHELL "PING "+ Cmd$
PRINT "Returned from shell."

Note that under Visual Basic the command is different:-

(assuming a text box called txtCmd)

Dummy=SHELL("PING " + txtCmd.Text)

Rob Davis MSc MIAP
Anstey, Leicester UK. 0976 379489
abuse@localhost, postmaster@localhost
Re: COULD YOU HELP ME PLEASE?
#660
Author: Christian Watteng�rd
Date: Tue, 09 Dec 1997 00:00
20 lines
1235 bytes

Barata wrote in message <01bd0052$e7432ee0$d7f141c2@default>...
>I'm sorry for this lamer question, but... I wonder If you could tell me if
>I can do something like this work in Qbasic 4.5?
>
>
>PRINT "adress ";
>INPUT adress
>SHELL ping adress
>


input "IP Adress: ",ip$
cmd$="ping "+ip$
shell cmd$

This should work...

Chris...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads