Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
524 B

  1. @SET DRVDIR=\system32\spool\drivers\w32x86\3
  2. @ECHO OFF
  3. ECHO.
  4. ECHO This will dump all GPD's and DLL to your directory:
  5. ECHO.
  6. ECHO %WINDIR%%DRVDIR%
  7. ECHO.
  8. ECHO Driver must have been previously installed with Add Printer
  9. ECHO and if your driver directory is different, you'll need to
  10. ECHO first edit this file and modify DRVDIR variable.
  11. ECHO.
  12. ECHO Press [CTRL-C] to stop or
  13. PAUSE
  14. net stop "Print Spooler"
  15. copy *.GPD %WINDIR%%DRVDIR%
  16. copy objfre\i386\*.DLL %WINDIR%%DRVDIR%
  17. net start "Print Spooler"