Cannot delete locked .INF file from desktop

Okay,
I go to a school where everyone can place everything into one server.
Someone put an autorun.inf virus in all the folders, including mine.
I ended up having the virus on my flashdrive, but wasn't able to delete it through a PC.
A friend said that fellow classmates have been able to delete it through Macs, so I gave it a shot. (This virus doesn't affect Macs, by the way.)
I was able to remove it from my flashdrive, but I cannot remove it from my desktop.
It's just sitting there, locked.
I can't find a way to unlock it, I've tried control+click, right click+delete...
Is there a way to remove it?
Message was edited by: RueLi

Another way that usually works. Depress the Option key when you empty Trash.
 Cheers, Tom

Similar Messages

  • Cannot delete DEFAULT.BMP "file" from Desktop

    A symbol labeled DEFAULT.BMP mysteriously appeared on my desktop.
    When I try to trash it, I get a message saying it can't be moved to the Trash because it cannot be deleted. I tried command-i to see what it was, and if I could change its status there, but command-i didn't produce anything. As far as I can tell, it's a label, but nothing attached to it.
    I'd like to get if off my desktop. Any suggestions

    >Open the Terminal utility in your Applications > Utilities folder and
    >enter the following command:
    >
    >ls -la ~/Desktop/DEFAULT.BMP
    >
    >
    >Then copy the output into a reply to this thread so we can see what it is.
    Last login: Sun Dec  2 23:40:18 on ttys000
    localhost:~ Jerry$ ls -la ~/Desktop/DEFAULT.BMP
    ls: /Users/Jerry/Desktop/DEFAULT.BMP: No such file or directory
    localhost:~ Jerry$
    >
    >You can also try running the following command (copy it exactly as-is)
    >to attempt to forcefully delete the file (provide your password when
    >prompted to run this):
    >
    >sudo rm -rf ~/Desktop/DEFAULT.BMP
    All I got back was:
    sudo rm -rf ~/Desktop/DEFAULT.BMP
    Password:
    localhost:~ Jerry$

  • Delete a .csv file from desktop system

    Hi All,
    My requirement is to read the .csv file from the desktop system having the shared folder and delete the file after read successfully.
    Here I can read the .csv file from the location using the function RFC_REMOTE_FILE and updated the content into internal table.
    But I cant delete the file from the presentation server ( Desktop system).
    Can anyone tell me how to delete the .csv file from the desktop system on different location.
    Note:
    I followed this link to read file:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=true

    Hi Rob,
    Thanks. I solved this problem myself.
    The solution to delete the file from remote system is
    concatenate 'DEL' i_filename i_dirname into v_bkfile separated by space .
    call function 'RFC_REMOTE_EXEC'
      destination  c_dest
      exporting
        command               = v_bkfile
      exceptions
        system_failure        = 1  MESSAGE v_ermsg
        communication_failure = 2  MESSAGE v_ermsg.

  • Cannot delete Time Machine file from external hard drive

    Hello,
    I'd like to delete my original Time machine file from an external hard drive ( Lacie mini ). I move the file into the trash bin and it constantly "deletes". At one time I left it deleting overnight and the file still wasn't trashed.
    I am going to hook up Time Machine to a different, dedicated external hard drive, but I'd like to gain space on the drive that Time Machine is currently on.
    I currently have Time Machine turned off ( I do have everything backed up with my home folder on another external HD ). Should Time Machine be turned on for me to trash the file? Is there a better way to delete the file?
    Much thanks in advance.

    V.K. wrote:
    ... the best and the quickest way to delete it is to erase the TM hard drive....
    But what if a person doesn't want to erase the TM drive? My MacPro came with tiger installed, but since tiger-intel-retail discs don't exist, my copy of tiger is what i have. I was all manner of foolish directing TM to that drive, but damage is done. What can someone in my position do?

  • Cannot Delete CPTL file from Desktop using Vista

    Hi All,
    I cannot Delete CPTL file from Desktop using Vista. Explorer
    crashes. It is a Captivate 2 file.
    I have tried (with no luck):
    - logging in as a different user and deleting the file.
    - running explorer as an Administrator
    - uninstalling Captivate.
    Anyone got any ideas?
    Cheers,
    Raef

    Hi Raef,
    That is a strange issue. Here are a couple more ideas you
    could try:
    - Have you tried renaming the file (including suffix)?
    - Have you rebooted?
    - Do you get any error messages when trying to delete, such
    as "Acess Denied"?
    - Is your machine networked? Is it possible someone else has
    the file open?
    - Can the file be moved to another location or put in a
    folder (and then deleted)?
    - Have you tried using the Command Prompt / DOS mode to
    delete the file?
    It sounds like it could be a Vista issue so I would look at
    the Microsoft Vista forums too. Sorry I do not have an exact
    answer.
    IHTH,
    Aaron

  • Re: Satellite L450D Cannot delete file from desktop

    Hi all, I was veiwing some photos on yahoo email via firefox version 3 6 3 sent by my sister in Australia, when this file appeared on my desktop which I cannot delete.
    The file is called Pez & Lisa (after my sister and brother in laws photograph) when i try to delete it I get the message "COULD NOT FIND THIS ITEM, THIS IS NO LONGER LOCATED IN C/USERS/PAUL/DESKTOP VERIFY THE ITEMS LOCATION AND TRY AGAIN"
    The file when I right click on proprties reads the file is 0 bytes size.
    It cannot be deleted in safe mode or moved or renamed or anything!
    Any ideas??

    Hi Guys, thanks for your replies, however, there is nothing in startup or task manager to delete!
    I have tried downloading unlocker, but it doesnt do anything when I click on it!! Maybe it doesnt work with Windows 7.
    I suppose I can leave it alone as its not doing anything! its not worth a reformat just do get rid of an icon.
    Ho Hum.

  • Cannot delete .band files from desktop

    I was working on a file in GarageBand, I saved the .band file on my desktop, but after I quit GarageBand without saving the work, the .band file went a little weird. I tried dragging it to the trash and cmd-delete it but the message came up saying "The item “Recording Final.band” can’t be moved to the Trash because it can’t be deleted." Later I launched GarageBand again, and when I tried to drag the weird .band file from desktop to the GarageBand icon on my dock, the dock appears to crash, my wallpaper went gray for a second and then the dock came back up. Also when I select the file and hit space bar to do a quick look it shows up saying No Items Selected. I like to keep my desktop tidy don't want these files here blocking the way. Anyone knows the solution to the problem?

    The first thing I'd do is just restart your system. You might find the file has disappeared. If not, try deleting it again. If you get the same error msg, do as follows.
    Enable 'show path bar' in Finder > View. Highlight the problem file and make a note of the path.
    Open Terminal and use the
    rm <path to file>
    command to remove it (remove the angled brackets). If you want to be on the safe side, use the command
    cd <parent directory of file>
    to move into the correct folder first.
    Example
    Suppose the path is:
    Lion > Music > Garageband > problemfile.band
    In Terminal, you'd type
    cd ~/Music/Garageband
    Then type
    ls -l
    Assuming you see 'problemfile.band' in the list, type
    rm problemfile.band
    If you get an error, try
    sudo rm problemfile.band
    and enter your admin password (which will be invisible when you type it).
    If you still get an error msg, post back here, stating the error msg.

  • Unable to delete file from desktop

    I'm trying to delete a .mp4 file from my desktop. On doing so I'm first prompted to enter the password in a window 'Finder wants to make changes. Type you password to allow this'. After doing so I get the msg 'the operation can't be completed because you don't have permission to acess some of the items'.
    I have checked the permissions in the get info tab and it has read and write acess.
    Kindly help me with the issue.

    Hi Niel,
    Thanks for the quick reply. M sorry by mistake i clicked on 'This helped me' .. hw can I change it to 'this solved my question'.
    Well I was stuck as I was trying to lock unlock general properties of the file whereas my desktop general properties was in locked state.
    Quite new to the mac..getiing used to it.. thanx a ton !!..

  • Lightroom mobile syncing is super slow and stop for no reason. cannot resume syncing. no idea with the progress of syncing. cannot sync the original file from mobile into desktop.

    lightroom mobile syncing is super slow and stop for no reason. cannot resume syncing. no idea with the progress of syncing. cannot sync the original file from mobile into desktop. stuck and cannot process any further.

    Hi. Did you trigger a delete data via LR preferences ->Lightroom mobile.
    I'm not seeing a catalog connected to your account.
    Did you import originals via the connection-kit?
    Thanks
    Guido

  • I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.

    I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.  I can delete other files but several XLS files are giving me this message.

    You said it was a network drive.  So is someone else on the network using that same file or may have have left with excel still accessing it on their system?

  • How can I delete two .jpg files from my desktop that refuse to be deleted?

    How can I delete two .jpg files from my desktop that refuse to be deleted?

    The two icons refused to be moved to the garbage. The good part in all this is that ater I turned off the computer at night and turned it back on the next morning they were gone!
    Thanks.

  • Java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DB

    I am deploying my application components on Oracle RAC database, when i install my app component i will run a script which creates a user and tablespace on bot rac-nodes(node1 and node2)
    as database is clustered, the user are created on 2 nodes and tablespace is stored in a shared location for two rac nodes
    i am able to successfully run my script on rac-node1 and and installed my component and when i started installing the app component on node2 getting error
    java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: '/db/db/db/ora10g/10.2.0/admin/dbadmin_01.dbf'
    ORA-06512: at "ADMIN.XL_SP_DBCHECK", line 48
    ORA-06512: at line 1
    "dbadmin_01.dbf is the custom tablespace which created by me"
    i a mgetting error while installing the app component on rac-node2

    You should not create database files outside of the ASM.
    I'm not sure you can move the datafile, I would export the data from the tablespace (if there is data you need there), delete the tablespace and recreate it in the ASM, then import the data back.
    If you want to move the datafile, you can try using RMAN (from node1).
    First connect to the database with sqlplus and execute:
    alter tablespace <tbs_name> offline;Then start RMAN: rman target /
    BACKUP AS COPY DATAFILE '<file>' FORMAT '+<ASM_DG>';Then in sqlplus, execute:
    alter tablespace <tbs_name> online;I'm not sure it will work, and I hope I got the commands right because I can't check it right now.
    Good luck
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • HT3842 Does iTunes store the original music file and copy it into a separate folder? If i delete the original file from finder will it remove it from my iTunes library?

    Hi, on my last PC when transferring music to my new MacBook Pro i noticed i had about 6 duplicated of each song in every album i took hours in removing them.
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    If i delete the original file from finder will it remove it from my iTunes library or vice versa. I didnt want to lose any music like i have some how managed to on my old computer.
    Or should i keep both files of it in the Music folder and also iTunes library folder?
    Which is best ?

    DrewPowell wrote:
    I Just wondered Does iTunes store the original music file and then copy it into a separate folder?
    It does both at the same time.
    When you add files to iTunes, it copies them into /Music/iTunes/iTunes media/ folder. The original file remains where it was.
    You can drag a file to /Music/iTunes/iTunes media/Automatically add to iTunes/ folder.
    This will add to iTunes and move it to /Music/iTunes/iTunes media/.
    I keep a shortcut of this folder on my desktop then simply drag files to the shortcut to add to iTunes.
    Then there are no "extra" files around.

  • Was advised to delete system configuration file from hard drive and now computer will not start - any help would be appreciated.

    Downloaded Yosemite and since then cannot connect to internet or bluetooth mouse - was advised to delete system configuration file from the hard drive and since then cannot start up computer. Any help would be appreciated - cheers.

    Boot the MBP with the OPTION+COMMAND+R keys down.  The result should be a display showing a revolving globe.  By following the instructions, you will be able to reinstall the original OSX.  Then you may reinstall Yosemite.
    A solid Internet connection will be required.
    Ciao.

  • Java.sql.SQLException: ORA-01157: cannot identify/lock data file : PLz Help

    My datafiles are in ASM file system, however the only one file ACIPEN_DATA is the one, which is not in ASM file system, and this the file which is in concern.
    We are getting the following exception in the lxkratgas1.lex1.lexmark.com when connecting to ACIPEN_DATA.
    This exception is coming up sometimes and the sometimes the file is getting processed successfully
    Caused by: java.sql.SQLException: ORA-01157: cannot identify/lock data file 9 - see DBWR trace file
    ORA-01110: data file 9: '/oracle/SE/product/10.2.0/db_1/dbs/ACIPEN_DATA'
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:955)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3368)
    at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:278)
    at atg.adapter.gsa.SQLStatement.executeUpdate(SQLStatement.java:725)
    at atg.adapter.gsa.Table.insert(Table.java:1378)
    at atg.adapter.gsa.GSAItemDescriptor.addItem(GSAItemDescriptor.java:6272)
    ... 61 more
    ====================================================================
    We have checked the datafile, it is absolutely online.
    Can some expert jump in and resolve this issue Please.

    01157, 00000, "cannot identify/lock data file %s - see DBWR trace file"
    // *Cause:  The background process was either unable to find one of the data
    //         files or failed to lock it because the file was already in use.
    //         The database will prohibit access to this file but other files will
    //         be unaffected. However the first instance to open the database will
    //         need to access all online data files. Accompanying error from the
    //         operating system describes why the file could not be identified.
    // *Action: Have operating system make file available to database. Then either
    //         open the database or do ALTER SYSTEM CHECK DATAFILES.is this a RAC database?

Maybe you are looking for

  • Share Photos on the same iMac with different user accounts... How do You???

    Hello, I was wondering if there is a way to share photos with another user (same computer, different log-in names) on the same iMac? There are two users on my iMac and I want to be able to share photos and other documents, music etc. with them, but c

  • The error is occured that Spooler SubSystem App has encountered a problem and needs to be close.

    When, I give the print option in my printer HP Laser Jet 1005, the error is occured that Spooler SubSystem App has encountered a problem and needs to be close. And the Computer is hanged. Kindly give me the suggestion to short out the problem. Kindl

  • Sort photos by filesize?

    I've ended up with a lot of duplicate photos and many that are a much smaller filesize of another picture (what I assume was used as a thumbnail at one point). I know I can use Duplicate Annihilator to take care of some of the duplicates, but I wasn'

  • Shipping Date field

    Hello guys, I'm creating a report where I need to display Customer invoice details, I've been able to gather most of the fields but I'm having issues retrieving shipping information. I know that VTTP (Shipment Item) and VTTK (Shipment Header) have th

  • Business Explorer in German Version

    Hi, I have installed SAP GUI 710.  When I am trying to open Bex Analyzer am not getting English version.  Its getting some german version. And I am tring to open with Older version 3.5 also.  Its also throwing some error. Can anybody help in this. Re