@rem ----- ExeScript Options Begin ----- @rem ScriptType: console,invoker @rem DestDirectory: temp @rem Icon: C:\Dokan\SCSIN.ico @rem OutputFile: C:\Users\Dokan\Dropbox (SCSin)\Downloads\_test virus\printer_restart.exe @rem CompanyName: SCS'in @rem FileDescription: Reset Printer Spooler @rem FileVersion: 1.0.0.1 @rem LegalCopyright: SCS'in (r) @rem ProductVersion: 1.0.0.1 @rem 32Bit: yes @rem ----- ExeScript Options End ----- @echo off cls ECHO __ _ _ , ECHO / / // ) ' ,_ ECHO \ / \ / / / ECHO (_//_/__/ / / /ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ECHO º º Copyright (c) ECHO º D O K A N º 1995-2016 by ECHO º º SCS'in S.Schwarz ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍhttp://www.scsin.chÍͼ All rights reserved echo. echo ------------------------ echo ---- Dokan ---v7.1.21--- echo ---------------sv0022--- echo. echo vidange des fichiers pour imprimante bloqu‚e echo. echo. echo. echo Droits administrateurs requis, ils seront demand‚s si n‚cessaires. echo. :checkPrivileges NET FILE 1>NUL 2>NUL if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges ) :getPrivileges if '%1'=='ELEV' (shift & goto gotPrivileges) ECHO. ECHO ************************************** ECHO Demande des droits administrateurs ECHO ************************************** setlocal DisableDelayedExpansion set "batchPath=%~0" setlocal EnableDelayedExpansion ECHO Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs" ECHO UAC.ShellExecute "!batchPath!", "/t ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs" "%temp%\OEgetPrivileges.vbs" exit /B :gotPrivileges :::::::::::::::::::::::::::: :START :::::::::::::::::::::::::::: setlocal & pushd . @echo off net stop spooler ECHO Effacement des files d'attentes del %systemroot%\System32\spool\printers\* /Q /F /S net start spooler cls echo. echo Imprimantes OK echo. echo. ECHO. ECHO __ _ _ , ECHO / / // ) ' ,_ ECHO \ / \ / / / ECHO (_//_/__/ / / /ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» ECHO º º Copyright (c) ECHO º D O K A N º 1995-2016 by ECHO º º SCS'in S.Schwarz ECHO ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍhttp://www.scsin.chÍͼ All rights reserved echo. echo ------------------------ echo ---- Dokan ---v7.1.22--- echo ---------------sv0011--- echo. echo. echo This software is a part of Dokan.exe echo Please use www.dokan.ch website or echo Dokan.exe for help echo Dokan is free and is proposed as is. no warranty echo. echo This windows will autoclose in a few seconds ! PING -n 10 127.0.0.1>nul