[R] DriveMapAdd sur partage administratif
Posté : mar. 11 nov. 2008 21:13
Bonsoir à tous !
Quelqu'un peut-il me dire pourquoi mon script ne fonctionne pas (j'obtiens @error=5)
En revanche cela fonctionne bien :
et ceci est très lent :
Merci beaucoup !
Quelqu'un peut-il me dire pourquoi mon script ne fonctionne pas (j'obtiens @error=5)
Code : Tout sélectionner
DriveMapAdd("s:", @Computername & "\c$", 0, @Computername & "\administrateur", "toto")
DriveMapDel("s:")
Code : Tout sélectionner
DriveMapAdd("s:", "\\127.0.0.1\c$", 0, @Computername & "\administrateur", "toto")
DriveMapDel("s:")
Code : Tout sélectionner
DriveMapAdd("s:", "\\127.0.0.1\c$", 0, "127.0.0.1\administrateur", "toto")
DriveMapDel("s:")