plastix Posted February 16, 2007 Posted February 16, 2007 Hi there I have a server that I use remotely when I am away on home PC, but ADSL connection drops out almost daily. I am trying to design a script to check if there is an effective internet connection (occ. system appears connected but no packet flow etc) - easiest method is via PING. I have tried to execute ADSL dialup - but using RUN() or ShellExecute() on a shortcut to the connection fails (crash with RUN, and 'parameters incorrect' with ShellExecute - there are no parameters in the .LNK to the connection). If anyone has some bare-bones script for dialling / connecting to their ISP - or can give me an idea of how to call the ISP connection entry correctly, would be greatly appreciated. TIA
sandyd Posted February 16, 2007 Posted February 16, 2007 Right-click on the shortcut and see what executable is being run, then use that ... ----[ SandyD ]---
plastix Posted February 16, 2007 Author Posted February 16, 2007 (edited) Right-click on the shortcut and see what executable is being run, then use that ...Thanks. If it executed a program, that would be easy... The shortcut references a UID in Network Connections ie {HEX-HEX-HEX-HEX-HEX} - and there isn't a macro to Network Connections.I'll search registry for the UID and see if the key has any helpful info - checked: just clas IDs as far as i can see. Edited February 16, 2007 by plastix
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now