Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by BrowserUk (Pope)
on Nov 22, 2011 at 16:51 UTC ( #939497=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^3: unlink fails to delete files with perculiar names
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (21)
As of 2015-07-01 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (6 votes), past polls