Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Dec 2003
    Location
    San Jose CA, USA
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I have a file that has a very long file name and have been unable to change of delete the file and the folder it is in. Tried everything I know but no luck. Actually there are a series of three folders that have been repeated about 12 times. I have cleaned out the folders but until I get rid of this one file - I cannot clear the folders.

  2. #2
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,592
    Thanks
    5
    Thanked 1,059 Times in 928 Posts
    Try opening a command window and navigate to the folder in which the file resides. Then use "DEL *.*" (without the quotation marks).

    Joe
    Joe

  3. #3
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    3,420
    Thanks
    33
    Thanked 195 Times in 175 Posts
    Quote Originally Posted by JoeP View Post
    Try opening a command window and navigate to the folder in which the file resides. Then use "DEL *.*" (without the quotation marks).
    And if that doesn't work, in the aforesaid Command Prompt window do DIR /X and find the 'short name' of the file (which will look something like MYFILE~1.TXT), and try DEL MYFILE~1.TXT ...
    BATcher

    Time prevents everything happening all at once...

  4. #4
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,191
    Thanks
    48
    Thanked 985 Times in 915 Posts
    |You could also try the RD /S command, which will delete a directory and all it's contents, including sub directories..

    cheers, Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •