|
Yep. Permission Denied. A reboot didn't work either. I finally went into an MSys2 Bash shell and used rm to remove it. That finally worked.
Free Software saves the day again!
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
what kind of file is it? Kill the process that is using the file, if possible. Then kill the file.
|
|
|
|
|
That doesn't always work. I've had the same problem myself, usually when I've opened a file in the directory from another computer -- it comes up as "Access is denied". The same thing might happen if you run a file as a different user on the same machine (in fact, I'm pretty sure it did, once).
Even after you've closed the file on the other machine, the lock sometimes persists.
Unlocker handles this on Weven ("delete on next boot", which means I'm stuck with it for six months or so), but it's not supported for W8.
Pissing about with permissions on W8 is just too much trouble, so you can either literally "W8" to see if the system will ever unlock it, or boot with a Linux stick, and delete it from there.
[edit]
I forgot to mention that WinRar has caused this at least once, on W8. It appears to lock the directory of the first file it opens -- but it does release it, a while after you close WinRar.
[/edit]
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Did you create the folder in a "protected" area (e.g. Program Files)?
/ravi
|
|
|
|
|
Nope.
Directory Path: C:\msys64\home\Brisingr\Sources-Test
There were several other folders there that deleted right away, including some with a - in the name.
I ended up using a Bash shell and rm to get rid of it.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
I get it from time to time, because the system is using the folder to build it's thumb.db files, or the Explorer is holding it because it is trying to display a thumbnail view and hasn't realised I have moved away from the folder.
It's irritating, but it's not that bad - generally opening a different folder in the same explorer window and the going back to the original parent folder solves the problem. I wouldn't say it's a Windows problem specifically, so much as poor programing on Windows Explorer - which we all know is pretty crumby anyway!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
When you get this kind of problems you need to take ownership on the file or folder.
|
|
|
|
|
Install LockHunter and then either unlock it or directly remove it with that utility. If it's still impossible (not usually the case) then in that folder Administrator might not have the rights (files such as hosts etc.)
|
|
|
|
|
|
|
I have code in my view that reacts to a double-click on a listview so that the next successive parent of the SelectedItem being double-clicked is displayed. At the same time, other listviews which are synchronized to the SelectedItem(a ViewModel) of the listview being clicked shows the related ViewModel records.
How can I best separate this out in MVVM so there is no code in my view?
|
|
|
|
|
You could start by reading the prologue at the top of this page.
|
|
|
|
|
Richard MacCutchan wrote: prologue I can't see that word without hearing Frankie Howerd's voice.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
'Ere, no, listen, er ... and you, mush.
|
|
|
|
|
1) Learn to read.
2) Learn to pay attention. It's in red letters at the top of the page - it's not like we hide it in a footnote!
3) Then ask in the right place, and you might not annoy the people you want help from...http://www.codeproject.com/Questions/ask.aspx[^]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Checkout the articles on this site, there are many. Just search for MVVM under articles in the search tool. I think trying to solve your problem on your own, with the aid of these articles, is the best way for you to learn; which is what this site is all about.
As you already see, their are some senior members here who are not so polite to those who post questions in the sacred Lounge. Sorry for that. Best of luck.
|
|
|
|
|
To get to the Lounge to post his question, he would start at the Home page, and go via the menu.
Past "Articles" - where he could find an answer.
Past "Quick Answers" - where he could get an answer.
Past "Discussions" - where he could get an answer.
To "Community", then to the Lounge - where it says clearly at the top of the page in bright red writing "click here to ask your programming question"
So if he misses all those subtle clues, a little mild rebuke is probably the least of his problems!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
You can come off your high horse now.
|
|
|
|
|
I never use horses - smelly big objects with no brakes and less brains!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Slacker007 wrote: You can come off your high horse now.
FTFY
Once you lose your pride the rest is easy.
In the end, only three things matter: how much you loved, how gently you lived, and how gracefully you let go of things not meant for you. – Buddha
Simply Elegant Designs JimmyRopes Designs
|
|
|
|
|
Actually
OriginalGriff wrote: To "Community", then to the Lounge
If you just click the community main menu you automatically come to the lounge.
Taken that into consideration it might sometimes make people just skip the rest and just ask the community.
Of course no excuse for not reading the big red letters but...
Tom
|
|
|
|
|
Ah, but what if he's Jewish!
Them awkward buggers read from right to left -- something that makes absolutely no sense to me whatsoever. It's totally illogical.
Must be why they're all lawyers.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
It makes sense if you are left handed...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Mark_Wallace wrote: Ah, but what if he's Jewish! Them awkward buggers read from right to left -- something that makes absolutely no sense to me whatsoever. It's totally illogical. Must be why they're all lawyers.
The most common languages written right to left are Arabic, Persian, and Urdu, not Hebrew.
http://en.wikipedia.org/wiki/Right-to-left[^]
Would you care to amend your remarks, in this light?
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
Not at all!
If I've got a choice between facts that I make up or facts that wikipedia makes up, I'll choose my invented facts, any day!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|