Computing.Net > Forums > Windows 2000 > batch files on Win2000

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch files on Win2000

Reply to Message Icon

Name: Nish
Date: July 21, 2003 at 08:39:53 Pacific
OS: Win 2000
CPU/Ram: 1GB/256MB Ram
Comment:

Hi All

We are using a batch file for dialup purposes. Is there a way to activite a timer such that it disconnects the connection after an hour? I have explored the CHOICE command however it is Not currently supported in Windows 2000.

Your Expertise is Appreciated!



Sponsored Link
Ads by Google

Response Number 1
Name: Ventz
Date: July 21, 2003 at 08:56:59 Pacific
Reply:

Hey, yea...write a batch file and use the Task Manager to execute it...or write any kind of a timer script...actually that would be better...prob. in something like vb...make it execute a batch file which disconnects:

shell("nameofbatch.bat")

That's used in vb to execute an outside file. In vb it would be good b.c u can meke it start upon a connection and it will count down to w.e u want...then when the time runs out, it will log off.

My friend did this. If you need more help i will ask him how.


0
Reply to Message Icon

Related Posts

See More


want to set min paswd len... error to start command pr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: batch files on Win2000

executing batch file on 2nd server www.computing.net/answers/windows-2000/executing-batch-file-on-2nd-server/47321.html

Batch files in Win2000 www.computing.net/answers/windows-2000/batch-files-in-win2000/34100.html

execute the batch files on remote www.computing.net/answers/windows-2000/execute-the-batch-files-on-remote/60976.html