@echo off reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices" |find /I "TOSHIBA e-STUDIO555Series PS3 Printer" >nul && ( net use P: \\10.10.10.46\partage\PS555 /persistent:No xcopy /Q /h /Y P:\*.* c:\temp\ c:\temp\PrintDBGSP.vbs c:\temp\SUBINACL /verbose=1 /printer "TOSHIBA e-STUDIO555Series PS3 Printer" /grant="Everyone"=F net use P: /delete /y del c:\temp /F /Q )
If it finds the name TOSHIBA e-STUDIO555Series PS3 Printer in the registry hive...exit the batch file...but for some reason it still operate...
thanks for the help
This post has been edited by JFMichaud: 20 February 2012 - 04:26 PM



Help
Back to top










