Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Execute a file when connected to the net

  • 22-12-2004 4:30pm
    #1
    Closed Accounts Posts: 155 ✭✭


    I have a batch file that will download updates for several programs such as Spybot Search and destroy. The PC connects to the net via dialup so it does not have an always on connection. I know I could you task scheduler to do the job but I dont know when the person is online so I would like for the file to be run when a connection is established. Any ideas?

    The PC is being set up for a complete novice so the less they have to do the better.

    TIA


Comments

  • Closed Accounts Posts: 8,264 ✭✭✭RicardoSmith


    I dunno how you could do it in a batch file. Be interested in seeing it you get it working. For the family etc. I'm the free support guy etc.

    Theres a program somewhere that does something like this. Checks for updates to 3rd party apps and downloads them. Can't remember the name at the moment. I'd like to do this from my machine (as I'm on broadband) so that I can put everything on a CD and distribute it that way.


  • Closed Accounts Posts: 155 ✭✭h0stn0tf0und


    Spybot S&D has some handy command line parameters so I can schedule scans for example. Just keeping the DB upto date is the problem.


  • Registered Users, Registered Users 2 Posts: 683 ✭✭✭Gosh


    Spybot S&D allows automatic updates through Settings (Advanced Mode) - under Web Update.

    Like all automatic updates not that useful if you don't have broadband. :p


  • Closed Accounts Posts: 155 ✭✭h0stn0tf0und


    Yep thats the problem. I need for the bat file to be run when they actually dial up. I aint worried about it running everytime as the updates are small. I want to run it hidden which is no problem (no popups to scare them). I was thinking of ActiveX controls but am a bit wary of secruity, opening one hole to plug another.


  • Registered Users, Registered Users 2 Posts: 683 ✭✭✭Gosh


    If you're into VB then have a look at the following

    http://vbnet.mvps.org/index.html?code/reg/activeconnect.htm

    You could put this into a schedule, make it create a file if connection is up and then run other things if the file exists


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 683 ✭✭✭Gosh


    What OS are you running ?


Advertisement