Mga Pahina

Sabado, Hunyo 16, 2018

"How to removed all unwanted extension file in your Pc"

if you want to remove specific file or extension in your computer you do this.

open notepad. then paste this codes.

---------
@echo off
c:
cd\
dir /s *.mp3 *.mp4 *.3gp >> \\172.80.80.114\Saved Files\logdrive.txt
del /s *.mp3 *.mp4 *.3gp
------------

then save what ever name you want if put .bat in the extension

you can put any extension that you want. kindly follow the format. " \\172.80.80.114\Saved Files\l" this is the path that saves logs of deleted files.

just run the bat file and whether you put it C: or D: drive in the code


OTHER WAY TO DELETE W/ LOOP

:loop

del /S "c:\*.mp3"

del /S "c:\*.mp4"
del /S "c:\*.3gp"


goto loop


unhide hidden file 

:loop

 attrib -s -h -a /s /d "c:\*.mp3"
attrib -s -h -a /s /d "c:\*.mp4"

attrib -s -h -a /s /d "c:\*.3gp"

goto loop

Walang komento:

Mag-post ng isang Komento