Computing.Net > Forums > Disk Operating System > Batch file to run on log off!

Batch file to run on log off!

Reply to Message Icon

Original Message
Name: umark
Date: April 7, 2004 at 17:11:21 Pacific
Subject: Batch file to run on log off!
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?

Thanks

Umark


Report Offensive Message For Removal


Response Number 1
Name: Wengier
Date: April 7, 2004 at 18:08:50 Pacific
Reply: (edit)

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:

http://www.computing.net/dos/wwwboard/forum/14574.html

---------------
Long Live DOS!


Report Offensive Follow Up For Removal

Response Number 2
Name: Wengier
Date: April 7, 2004 at 18:22:49 Pacific
Reply: (edit)

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.


Report Offensive Follow Up For Removal

Response Number 3
Name: Wengier
Date: April 8, 2004 at 13:30:50 Pacific
Reply: (edit)

OK, this thread has been redirected to Windows 2000 Forum:

http://computing.net/windows2000/wwwboard/forum/57278.html

---------------
Long Live DOS!


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Batch file to run on log off!

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge