Saved Bookmarks
| 1. |
Solve : I am really need a help please? |
|
Answer» I am really need a help please I am really need a help pleaseOk...I don't think you can make a user log in, as I'm fairly sure that batch files get executed after they log in...but, you COULD do this. echo off set log=Shared folder path\log.txt for /f "tokens=1-2 delims=: " %%A in ("%time%") do set tme=%%A^:%%B echo %username% has logged in at %tme%. >> "%log%" exit And one to check to see if he logged in, echo off :loop cls type "Shared folder path\log.txt" ping localhost -n 2 > nul goto loop If you put the first one in the startup script, you will always know when someone logs in. |
|