problème d'affichage de variable
Bonjour,
quand je fais mon code :
Code:
1 2 3 4 5 6 7 8 9 10 11
|
On Error Resume Next
Set objSysInfo = CreateObject("ADSystemInfo")
Set lecteur = createobject("wscript.network")
Set imprimante = createobject("wscript.network")
strUserPath = "LDAP://" & objSysInfo.UserName
Set objUser = GetObject(strUserPath)
Set struser = objSysInfo.UserName
wscript.echo "g suis la!!" & struser
wscript.sleep 2000 |
Celle-ci ne m'affiche pas la valeur de l'utilisateur , quelqu'un peux me dire pourquoi ?
merci
sam874