Need to remove a file

Discussion in 'Application Software' started by AliVara, Feb 11, 2012.

  1. AliVara

    AliVara MDL Novice

    Feb 11, 2012
    2
    0
    0
    Hi,
    I was unable to remove a file with a long path,
    I've found this tool: longpathtool.com
    any tip/trick... !!!???
    thanks
     
  2. UVAIS

    UVAIS MDL Expert

    Mar 17, 2011
    1,333
    1,886
    60
    Remove using CMD :cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bk-ks

    bk-ks MDL Novice

    Jan 27, 2012
    26
    6
    0
    I will give you two methods:

    Method 1:
    Click "Start - Run and type" cmd "to open a command prompt window.

    Navigate to the directory where the "undeletable" file, with 'cd' command. ie cd "c:\Documents and Settings\My Documents"

    Use the 'del' command to delete the file. ie del 'undeletablefilename'.

    Method 2:

    Open a Command Prompt window
    - Type CD \
    (Visit the root of the drive)
    - If the file containing the page that is on C:, go to the drive of the file: eg
    - Type E:
    - Type CD <<folder name>>
    (to go to the file)
    - Type DIR /X
    (for a list of files with the center column showing 'short name' of the file)
    This name is usually 1 or ~ ~ 2 at the end

    This name should be used with the Del command to delete that file:
    DEL <<file name>>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...