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 file to run on log off!
Name: umark Date: April 7, 2004 at 17:11:21 Pacific OS: any windows CPU/Ram: any
Comment:
Hi,
can some one please help!
How can i get a batch file to run when ever someone logs off a computer. Is this possible?
Also how can i get a batchfile to run when the computer is switched off?
Name: Wengier Date: April 7, 2004 at 18:08:50 Pacific
Reply:
umark,
I know your OS is Windows 2000 (See here for example), and you say you want to "get a batch file to run when ever someone logs off a computer", thus you are asking a question about NT batch scripts for NT systems. But here is DOS Forum, so you have asked in the *wrong* forum! NT system is based on OS/2, not DOS, and NT batch files won't work on DOS systems. You should post it in Programming Forum or Windows NT/2K Forum, as the warning messages of this forum state. More information:
Name: Wengier Date: April 7, 2004 at 18:22:49 Pacific
Reply:
P.S. And I remember you are the one who posted the same question in both DOS and Windows 2000 Forum last time. Since there is no "Batch Scripting Forum" in Computing.Net so far, you please read the forum instructions carefully before posting.
0
Response Number 3
Name: Wengier Date: April 8, 2004 at 13:30:50 Pacific
Reply:
OK, this thread has been redirected to Windows 2000 Forum:
Summary: Hi every body I want to create a batch file that will run a command at a specific time but i want to exclude some days like saturday and sunday where I don't want this batch file to run on these ...
Summary: My office computer is Win98, but I need the batch file to run on Win2000 machines. I wasn't aware there was a big difference and it would have been nice to test in the comfort of my office, but if it ...
Summary: I have been trying to write a batch file that is deployed to all the machines in our building. Upon running the BAT, the script will write the computer name, the person logged in, and the results of ...