in reply to Re: unlink fails to delete files with perculiar names
in thread unlink fails to delete files with perculiar names

I tried escaping the $ with a \

that did not work ....

  • Comment on Re^2: unlink fails to delete files with perculiar names

Replies are listed 'Best First'.
Re^3: unlink fails to delete files with perculiar names
by BrowserUk (Patriarch) on Nov 22, 2011 at 16:51 UTC

    Then I suggest you try del "D:\Users\Dave\Documents\Personal\CV\~$rriculum Vitae - 09 June 2007.doc" on a command line and see what error message is produced by the shell.

    Update: Having seen one of your other replies, try doing:

    attrib -h -s -r "D:\Users\Dave\Documents\Personal\CV\~$rriculum Vitae +- 09 June 2007.doc"

    And then the unlink or del.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.