Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by DaveARoberts (Acolyte)
on Nov 22, 2011 at 16:34 UTC ( #939491=note: print w/replies, xml ) Need Help??


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 (Pope) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939491]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2016-10-01 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.