All your insults aside (like saying I was 'blabbing' above, when you did not come back, Adam & I had a subdiscussion about a topic he brought up instead)... I can take it, my skin's thicker than that.
"Blabbing" did not refer to your convo with Adam, but to you constantly trying to prove to me that you answered my question, when I was saying you didn't. My apologies again for being misunderstood.
I mean, given the data & facts you give us, which you modified as YOU went along & did not state to us fully/cleanly it was confusing to myself & others what you wanted.
Others in the topic apparently agreed with me & you apologized yourself for making a mistake in this regard in fact!
Normally I don't get misunderstood in issues like this. At least not by people who have a clue. You definitely have a clue, which is why I am still surprised you couldn't understand my problem, even considering the fact that I didn't formulate it clear enough (again, seemed to me pretty standard a problem for everyone to understand, even without me giving graphic descriptions of typing DELTREE C:\WINDOWS)
This is the part I am not understanding from your end... why can't you alter those &/or why should you have to? Administrative group users should have enough filesystem ownership by default to not make NTFS filesystems rights a problem... & you can increase other users rights too!
Here's a challenge:
(1) Log in as the administrator with all the administrative rights and privileges.
(2) Shut down all processes except the system processes you can't shut down (and Explorer, which needs to be running)
(3) Try to delete C:\WINDOWS (or whatever your Win dir is).
(4) Tell me what happened.The administrative rights are not the problem. The problem is during run time you cannot delete files which are protected by running processes. A lot of files in the Windows directory are just like that. To simplify, I always delete the Windows directory from DOS. To do that I needed a utility which will allow me to see and manipulate NTFS folders from DOS.
In case you are now thinking to write "Well, if this is all you wanted, why didn't you just say it?!" I apologize in advance once more for being too unclear.
Also: I see you mentioned Sysinternals tools above, did this help? I would like to know... thanks!
Yes, like I said,
NTFSDOS Professional helped. It allows just that: manipulating files on NTFS drives freely from DOS environment. BTW, it's scary how it completely seems to ignore administrative rights. Or maybe I haven't looked into it enough yet.
Ok, now that you've stated a 'deltree' was what you wanted? Try this:
*BATCH FILE*
I know how to use DEL, RD, DELTREE and ATTRIB, thank you.
Play with those NTFS userrights on the filesystem to make it work (this is where I am not understanding you fully, apparently... why not just increase those, & why are the default Administrative level NTFS rights not enough?)
Irrelevant. Not the problem. Hope this time my above explanation was clear enough. If it wasn't, this time I'm not going to apologize.
If you don't have enough saavy of this stuff (although stating the deltree command says to me you do) to state your question properly? WELL, What do you want from any of us?? We could only work with what you gave us, which you changed more as you went, initially to start with.
Guy: You never mentioned recursive function being desired on your first 5 postings in this thread... you admit this yourself!
When someone tells you he wants C:\WINDOWS gone, what pops to your mind?
NOW, You've got a DELTREE solution up there that should work, or one you can adapt further to your needs if need be & alter to your own unique purposes & if you have to?
Here's a shorter one:
ATTRIB -R -H -S DIR_I_WANT_TO_DELETE
CD DIR_I_WANT_TO_DELETE
ATTRIB -R -H -S *.* /S /D
CD ..
RD DIR_I_WANT_TO_DELETE /S
What was your solution you said you found, I am curious on that & might pickup a new trick here too... thanks! apk
I hope that you know the answer to this already having read down to here.
* HEY, This could be some fun to co-create something cool like that with you I think as others here could use it as well! Better than arguing stupid points on both our ends I say, just because we didn't understand exactly what you wanted early on & now we do!
Jesus fuck, man. Why reinventing the wheel? Create an NTFSDOS Professional floppy, boot from a DOS/Win9x floppy, launch NTFSPRO.EXE and type a few commands from the command prompt. Why build a batchfile even?
The more I talk, the more I think that it's not an issue of you misunderstanding my initial question, it's an issue of me and you having COMPLETELY DIFFERENT AND INCOMPATIBLE PATTERNS OF THOUGHTS. LOL. Or maybe we are both just too stubborn for our own good.
Have fun and thanks for wasting so much of your time on me. And I mean, wasting, yes, because the solution was ready before your first post in this topic took place.
EDIT: Having re-read my first post again... Yeah, you are completely right. It wasn't clear. I put in some irrelevant stuff and left out some relevant stuff. The problem is that I take some things for granted, while they aren't. Once again, my most sincere apologies.