Login script

S

Scott

How can I write a login or logout script that will turn
off the caps lock? Users loging out leave them on and the
next user doesn't check it until they lock themselves out.
 
S

Scott

Thanks for the quick response. I created the script, but
I'm getting anerror at the R for return. Any suggestions?
 
M

Mark Dormer

It can't find the file I assume.
Either put capslock.exe in the same directory as the script
or
Put the full path to the capslock file in the expression.
eg. Return = wshshell.Run("c:\somedir\someotherdir\capslock.exe off", 1,
TRUE)

Regards
Mark Dormer
 
S

Scott

I see were you are going with this, but I don't have a
capslock.exe file to point it to. Was I to create one??
-----Original Message-----
It can't find the file I assume.
Either put capslock.exe in the same directory as the script
or
Put the full path to the capslock file in the expression.
eg. Return = wshshell.Run
("c:\somedir\someotherdir\capslock.exe off", 1,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top