|
Sometimes I hate myself, but, when that happens, I just kill the leader and make another Self the leader.
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"
|
|
|
|
|
I think hate is too strong of a word. Do I feel they are overpaid, incompetent, in-the-pocket-of-big-business, worthless scum of the earth?
Well, then, absolutely!
(I refer here to political leaders. I stay away as much as possible from managerial "leaders", but they're about the same)
Marc
|
|
|
|
|
Apparently I need Administrator Permissions from myself to delete a folder I created.
WHY? WHY WINDOWS? WHY? WHY? WHY?
And no, the folder was not locked by any other process. I checked with several tools!
I get this ALL THE TIME! It makes me want to switch to Linux for good and have Win-woes in a VM for certain things (like .NET dev).
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???
|
|
|
|
|
So give yourself permission, what's the issue? It's not like Linux never asks you to give yourself permission, in fact it does it all the damn time.
|
|
|
|
|
The issue is that doing so doesn't work!
Here's what happens:
1. I try to delete a file/folder
2. Windows says I need Administrator permission
3. I click confirm to do so
4. Windows says I need permissions from myself
5. I click confirm
6. Go to 4
Using the 'apply to all' checkbox has no effect.
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???
|
|
|
|
|
Sounds like fun. Have you tried deleting it from cmd running as admin?
|
|
|
|
|
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...
|
|
|
|