Delete exe file

Hello, apologies for what seems a dumb question. I'm cleaning out files (moved my workstation from a pc to MacPro so am now fully Mac) and have an old exe file from the pc. Clam says it's a trojan so definitely want to remove it as I run Bootcamp for Cad and sim work. But.. when I try to drag it to trash or select move to trash OSX asks for my password, I enter it and then nothing happens, the file remains! I have checked it is unlocked, it is. How do I get rid of it, what am I doing wrong??
Many thanks.

MacBook, Mac OS X (10.5.2), Athlon XP home build, HP 6000, KTM

Posted on Mar 25, 2008 11:52 AM

Reply
18 replies

Mar 27, 2008 12:30 AM in response to V.K.

I tried that and it wouldn't let me overwrite the folder, insufficient permissions. I'm the only user on the machine.

Anyway, I then was able to drag the "old" folder with the exe file to trash, it accepted it without any password required! So I could then replace the good files back into the directory. Fantastic!

I just had to hold down the option key to empty the trash for some reason.

Many thanks again for all your help, job done.

Mar 26, 2008 2:02 PM in response to stillworking

these appear ok except for some strange ACE. It shouldn't have prevented you from deleting the file but let's try to get rid of it and see if that helps.

run

chmod -N /Users/julian/"Hill Top"/Alice/Downloads/ysbinstall 10025353.exe

and try deleting the file. If that doesn't work I would try the following.
Move everything except for the bad file out of the directory /Users/julian/Hill Top/Alice/Downloads to some other location.

Create a new folder called Downloads on your desktop and move it to

/Users/julian/"Hill Top"/Alice

A pop-up will ask you if you want to overwrite the existing directory, so just say "yes".

Mar 25, 2008 1:11 PM in response to stillworking

If a name of a directory in the path has a space you need to put that name in quotation marks or add an escape character.
In your case it should look like this:

ls -aldeo /Users/julian/"Hill Top"/Alice/Downloads

Message was edited by: V.K.

Ah, I got what you are doing wrong.
The first character in the command is a small "l" not a capital "i"

Just copy the line above.
better yet, try again

ls -aldeo path/to/file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Delete exe file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.