J'ai fait un petit script pour installer une imprimante avec son adresse IP mais la fin du script ne marche pas, j'ai l'erreur suivante : Impossible de terminer cette opération (erreur 0x00000003)
Voici mon script :
Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 Prompt $H cls @echo OFF @echo ................................ @echo INSTALLATION DE D'UN PORT TCP/IP @echo ................................ @echo IP : 192.100.101.220, Type RAW, et port réseau : 9100 cscript C:\Windows\System32\Printing_Admin_Scripts\fr-FR\prnport.vbs -a -r IP_192.100.101.220 -h 192.100.101.220 -o raw -n 9100 @echo ............................. @echo INSTALLATION D'UNE IMPRIMANTE @echo ............................. @echo Nom : "Informatique", Emplacement des fichier INF : \Driver_imprimante\hpc4015c.inf @echo Port : "IP_192.100.101.220", Nom du driver : "HP LaserJet P4010_P4510 Series PCL6" rundll32 printui.dll, PrintUIEntry /if /b "Traceur_Grenoble" /f "\Driver_imprimante\hpc4015c.inf" /r "IP_192.100.101.220" /m "HP LaserJet P4010_P4510 Series PCL6"
Partager