Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Taking down a dial up connection

Status
Not open for further replies.

jnicks

IS-IT--Management
Joined
Apr 3, 2002
Messages
219
Location
US
Is there a programmatic, like command line, way to force a diskconnect from a dialup connection?

The little modems or screens or whatever they are are somewhat awkward and also cannot be used to disconnect in case of a nasty like KLEZ arriving (which is kind of easy to notice).

I know some browsers have this as an option so I suspect it is something like a RUNDLL32...

Help? Thanks
J
 
You can use the command line prompt..


COM1 >> echo "+++"

or something like that, just change the COM port to your modems port (usually COM3 for a software modem, WinModem). You will have to play around with it. New Zealand, a great place to visit.
 
G'day Darranagl,

REally good idea, send the modem a shutdown.

Fut on my sys. when WinSock has the modem in a windows session it is locked out of a DOS VM

So I'm missing something....

? ? ?

snip of DOS echo attempts follow...


Microsoft(R) Windows 98

F:\>echo +++>com1

Write fault error writing device COM1
Abort, Retry, Ignore, Fail?

F:\>echo +++>>com1

Write fault error writing device COM1
/Abort, Retry, Ignore, Fail?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top