Hi Georg,
Thanks in advance for your time
The spript I'm using is just for the login (I'm lazy)

Comments, address IP and password cut off for the cut & paste.
' Originally 17March2006 by georg for the ServerElements Forum users.
' --------------------------------------------------------------------
' SECTION A: Some parameters ... for login and the NASLite+ Menu.
' --------------------------------------------------------------------
ServerName = "192.168.*.**" ' Use IP or name here (in quotes).
Username = "admin" ' Current Username
Passwd = "******" ' Current Password
XIT = "E" ' Used to "EXIT" from NAS. (upper-case E)
YES = "y" ' Used to confirm an option. (lower-case Y)
SHUT = "8" ' Used to SHUTDOWN NAS. (number eight)
DELAY = 1000 ' Minimum 500ms recommended; 1000 works well.
' --------------------------------------------------------------------
' SECTION B: Start a Shell
' --------------------------------------------------------------------
Set WshShell = WScript.CreateObject("WScript.Shell")
' --------------------------------------------------------------------
' SECTION C: Start the TELNET
' --------------------------------------------------------------------
WshShell.Run "telnet " + ServerName
' --------------------------------------------------------------------
' SECTION D: Login. ("Sleep" pauses are needed delays.)
' --------------------------------------------------------------------
WScript.Sleep DELAY
WshShell.SendKeys Username + vbLf
WScript.Sleep DELAY
WshShell.SendKeys Passwd + vbLf
WScript.Quit
And the SET command gives:
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\WINXP\Application Data
CLASSPATH=.;C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
CommonProgramFiles=C:\Program Files\Fichiers communs
COMPUTERNAME=FUJITSU
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\WINXP
LOGONSERVER=\\FUJITSU
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;;;;;C:\Program Files\Fichiers communs\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;;C:\Program Files\Fichiers communs\Ahead\Lib\;C:\Program Files\Fichiers communs\Ahead\Lib\;C:\Program Files\Fichiers communs\Ahead\Lib\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0d06
ProgramFiles=C:\Program Files
PROMPT=$P$G
QTJAVA=C:\Program Files\Java\jre1.6.0_01\lib\ext\QTJava.zip
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\WINXP\LOCALS~1\Temp
TMP=C:\DOCUME~1\WINXP\LOCALS~1\Temp
USERDOMAIN=FUJITSU
USERNAME=WINXP
USERPROFILE=C:\Documents and Settings\WINXP
windir=C:\WINDOWS
I can't see anything about caps lock
As for for the OS: Win XP Pro SP 2 French on a Fujitsu Siemens Laptop.
.../... Hip hip hip hourray, I found how things break down
There is a setting in XP which tells the machine how to turn off "caps lock". You can either hit "caps lock" key to turn it on and off (XP default setting) or set it so that "caps lock" key puts ON caps lock and "shift" key puts OFF caps lock (Win 98 setting).
If you leave the setting in "Caps lock does all the work" (XP default) setting the keyboard caps lock on/off position does NOT interfere with your script. If you seleck the option "shift" key turns off caps lock (as I have) then if the keyboard is in caps lock ON, your script sends the login in caps lock.
If you want to test, the setting is deep lost in XP parameters. Open Configuration panel > regional options and liguistics > language > detail > key parameters > you have the 2 options. The menu names may not be the same as I have translated them from French...
Tell me if you found them.
Regards.