Script [installation imprimante / map reseau]
Résolu/Fermé
carmi
Messages postés
20
Date d'inscription
lundi 10 avril 2006
Statut
Membre
Dernière intervention
12 mai 2007
-
17 août 2006 à 14:21
onc Messages postés 26 Date d'inscription samedi 9 octobre 2010 Statut Membre Dernière intervention 13 février 2016 - 7 juil. 2015 à 15:34
onc Messages postés 26 Date d'inscription samedi 9 octobre 2010 Statut Membre Dernière intervention 13 février 2016 - 7 juil. 2015 à 15:34
A voir également:
- Script installation imprimante
- Script vidéo youtube - Guide
- Imprimante hp en pause ✓ - Forum Imprimante
- Chromecast installation - Guide
- Imprimante en pause ✓ - Forum Imprimante
- Spouleur imprimante - Guide
11 réponses
Pour le script de l'imprimante :
@++
Set WshNetwork = CreateObject ("WScript.Network")
on error resume next
PrinterPath = "\\serveur\imprimante1"
WshNetwork.RemovePrinterConnection PrinterPath, true, true
WshNetwork.AddwindowsPrinterConnection (PrinterPath)
PrinterPath = "\\serveur\imprimante2"
WshNetwork.RemovePrinterConnection PrinterPath, true, true
WshNetwork.AddwindowsPrinterConnection (PrinterPath)
@++
12 mars 2008 à 17:21