How to delete all Windows .exe files?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
game sfs
Posts: 47
Joined: Mon 01 Oct 2012, 23:31

How to delete all Windows .exe files?

#1 Post by game sfs »

Hi ...
Slacko 5.3.3 USB
i wanna del all exe , com , sys , dll files from my hard disk
Ty ... :D
Last edited by game sfs on Sat 06 Oct 2012, 15:28, edited 1 time in total.
[img]http://images2.fanpop.com/image/photos/12400000/Dog-animated-dogs-12437677-181-143.gif[/img]

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#2 Post by starhawk »

So you want to make Windows completely gone, or just unusable?

...also:

EXE: DOS/Windows Executable (binary)
COM: DOS Executable (binary) from the old days
SYS: DOS/Windows System File (usually not an executable binary)
DLL: Windows Dynamic Link Library, IIRC it's similar to a Linux *.so lib(rary) but I could be wrong.

By deleting those files and not just wiping the partition, you will make Windows unusable but it will still be sort of present. It will still try to load, just that it will fail miserably and make a mess all over the rug instead of working.

Much better to wipe Windows away completely with gparted. Copy over your user data first if you want to keep it!

EDIT: dunno where your from, but around me (Southeast USA) three "K"s in a row does not mean a very nice thing. I'm not offended (I'm not sensitive enough :P ) but someone else might be. Just edit the subtitle back to one "k" and you'll be fine. All you do is edit your post and change the subtitle, when you hit "Submit" it will be fixed.

User avatar
game sfs
Posts: 47
Joined: Mon 01 Oct 2012, 23:31

#3 Post by game sfs »

I have found the virus in the files :twisted:
exe , com , dll , ...
i dont need all software in my hard disk :evil:
but i just need images and videos :D
ty ...
[img]http://images2.fanpop.com/image/photos/12400000/Dog-animated-dogs-12437677-181-143.gif[/img]

starhawk
Posts: 4906
Joined: Mon 22 Nov 2010, 06:04
Location: Everybody knows this is nowhere...

#4 Post by starhawk »

Run a virus scanner LiveCD, such as Hirens BootCD. (You need to do this because viruses can hide in regular files such as images and videos.)

Then copy what you want to keep to your USB drive or to another hard drive.

Then use gparted (in puppy) to wipe clean the Windows drive.

Just curious: where are you from?

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#5 Post by SFR »

Topic solution:
Doing such a thing, first I would use this, just to ensure if the found files are exactly these files you're looking for:

Code: Select all

find /path/to/Windoze -type f \( -iname \*.exe -o -iname \*.com -o -iname \*.sys -o -iname \*.dll \) -print0 | xargs -0 ls
If it'll be look ok, just replace the last ls command with rm and run the line again - all files will vanish...
EDIT: and don't use /path/to/your_usb_stick_where_puppy_is by accident, because this could delete, for instance, ldlinux.sys, which is necessary to boot up Puppy.

Real solution:
Honestly - the much better idea is what Starhawk suggests.
Just copy what you need and format that tainted partition...

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
BDX
Posts: 53
Joined: Wed 18 Jan 2012, 08:40
Location: Yemen,Aden

#6 Post by BDX »

Hi,

Try this Avast! for Puppy, i have use it in Lucid and i detect more than 80 virus in another PC, read the topic here.
Maybe it can make a clean door for your Windows :D

Note:You have to update the antivirus, it's about 65mb!!. Huge but worth it.
Can't update? Download manually to your ~/.avast folder.
Regards
M.H.
Puppy linux fact:Life is experiments......Download and try,Don't search and cry.

Post Reply