If you prefer, you can use DelSysFiles.cmd - just drag-and-drop a volume letter onto the DelSysFiles.cmd batch file or run it from the command line - e.g. DelSysFiles H:
To create DelSysFiles.cmd then copy the below text a notepad and save it with ".cmd" .
@echo off:: SteveSi (c)2014 www.rmprepusb.com www.easy2boot.comclscolor 1fecho.echo DELETE SYSTEM FILES AND FOLDERS FROM A DRIVEecho ============================================echo.echo THIS COMMAND: %0 %1echo.echo USAGE: %0 (DRIVELETTER:)echo.if /i "%~d1"=="C:" echo BAD PARAMETER - DRIVE C: NOT ALLOWED! & pause & goto :eofif not exist %~dpnx1nul echo Please use a DRIVE VOLUME LETTER not a file! & pause & goto :eofif not exist "%~d1\System Volume Information" echo "System Volume information" does not exist on %~d1 & pauseecho.echo Before running this, install TakeOwnership .reg fragment and Right-click - TakeOwnership on the file/folderecho.echo See https://www.raymond.cc/blog/about-recycler-and-system-volume-information-folder-in-xp-and-vista/echo.echo.echo STATUSecho ======call :show %1echo.echo.set ask=set /p ask=OK to delete these root system files and folders from %~d1 ? (Y/N) :if not "%ask%"=="y" goto :eofecho.echo Resetting hidden\read-only\system attributes on all files - please wait...if exist %~1\nul attrib -h -r -s %~d1\*.*rmdir %~d1\"System Volume information" /S /Q 2> nul && echo dummy > %~d1\"System Volume information"set FLD=%~d1\$RECYCLE.BINif exist %FLD% rmdir %FLD% /S /Qset FL=%~d1\hiberfil.sysif exist %FL% del %FL%set FL=%~d1\swapfile.sysif exist %FL% del %FL%set FL=%~d1\pagefile.sysif exist %FL% del %FL%set FL=%~d1\RECYCLERif exist %FL% del %FL%:endecho.echo RESULTecho ======call :show %1echo.if "%SVI%_%SVIFILE%"=="1_" color cfif "%SVI%_%SVIFILE%"=="1_" echo WARNING: SYSTEM VOLUME INFORMATION folder could not be deleted!if "%SVI%_%SVIFILE%"=="1_" echo Please Right-Click on the folder and run "Take Ownership" and try again!echo.echo Finished!pausegoto :eof:showset SVI=set SVIFILE=if exist %~d1\hiberfil.sys echo HIBERFIL.SYS EXISTS!if exist %~d1\swapfile.sys echo SWAPFILE.SYS EXISTS!if exist %~d1\pagefile.sys echo PAGEFILE.SYS EXISTS!if exist %~d1\RECYCLER echo RECYCLER folder EXISTS!if exist %~d1\$RECYCLE.BIN echo $RECYCLE.BIN folder EXISTS!if exist "%~d1\System Volume Information" set SVI=1if "%SVI%"=="1" find "dummy" "%~d1\System Volume Information" > nul 2> nul && set SVIFILE=YESif "%SVI%_%SVIFILE%"=="1_YES" echo dummy SYSTEM VOLUME INFORMATION file EXISTS!if "%SVI%_%SVIFILE%"=="1_" echo SYSTEM VOLUME INFORMATION folder EXISTS!goto :eof
It is noticeable that regardless of how appealing your posts are, on your ID, folks will never ever include their sort on these events such as photos and video clips without strong 'ask for action'. usa facebook likes
ReplyDeleteIn case you are being assured round-the-clock Customer Service and lifetime replacement then don't rethink after you Buy facebook reviews from a provider. buy facebook 5 star text reviews
ReplyDelete