# Attempt to reconnect any any unavailable network connections.
# Copyright (c) 1995 by Hamilton Laboratories. All rights reserved.
local i
net use | while (1)
@ i = getline
if (eofgetline) break
set i = $i:x
if (i[0] == "Unavailable") then
# Tell which connection is being restored in bright green.
echo "$ansi('bright green')Restoring $i[1] to $i[2]$ansi()"
# Try the net use, discarding any blank lines.
net use $i:1-2 |& sed -- '/^^$/d'
end
end
Hamilton C shell |
Free Updates |
Free Demo Software |
Win32 Training
Y2K |
Customer Testimonials |
On-line Hamilton C shell User Guide
Home |
Email |
Support |
Company Profile |
Distributors |
Links
Copyright © 1997-2001 by Hamilton Laboratories.
All rights reserved.
You are visitor number
364.
This page was last modified August 14, 2001.