Re: "Read-only" Folders

From: Roger Abell [MVP] (mvpNoSpam_at_asu.edu)
Date: 02/05/04


Date: Wed, 4 Feb 2004 20:13:40 -0700

Hi Drew,

Yes, I realize cmd.exe or the prior NT command.exe or for that matter
even the WoW (16) thunker, is not DOS.

Was the comment because I referred to the "DOS attrib command"
??

I guess I should just drop the historic reference as it is also a
command within the cmd.exe environments, ey ?

Roger

"Drew Cooper [MSFT]" <dcoop@online.microsoft.com> wrote in message
news:%23lTh2846DHA.2996@tk2msftngp13.phx.gbl...
> Oh - sorry about that. It's sometimes hard for me to tell when my words
> will seem like jargon and when they'll seem condescending. I'll
un-geek-ify
> things a bit . ..
>
> By "tri-state with checkbox" I meant that the checkbox actually has 3
> different states instead of the 2 you would normally expect: 1)checked and
> gray, 2)unchecked, and 3)checked. It's not very intuitive. The link that
> Roger posted probably explains this better than I could.
>
> By "'attrib' in the cmdline" I meant:
> - Click on "Start".
> - Go to "Run" and click on it.
> - In the textbox next to "Open:" type "cmd" and hit <Enter>.
> That new window that just opened is what I meant by "cmdline". You can
list
> files and subdirectories using the "dir" command, navigate throughout your
> directory structure with the "cd" command, and using the "attrib" command
> you can view and set the attributes on files and directories. For almost
> all commands you would want to use, " /?" will show you what parameters
the
> tool takes, syntax, etc. The "attrib" command will always tell you what
> attributes are set on a file and doesn't try to do any of that confusing
(to
> me) tri-state stuff.
> (In case Roger reads this: cmd.exe is not DOS. It's only DOS-flavored.
> There's a common myth that Windows XP has DOS somewhere under the covers.
> Not true.)
>
>
> Want to see what process has an open handle to the directory? You might
> want to download Process Explorer from sysinternals.com. It's a free UI
> tool that, among other things, shows you which processes have which files
> open. It's kinda like Task Manager on steroids.
> --
> Drew Cooper [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "John" <anonymous@discussions.microsoft.com> wrote in message
> news:a38701c3eb8c$3e9aff80$a001280a@phx.gbl...
> > Hi Drew,
> >
> > Thanks for responding to my inquiry in the MS Community
> > Newsgroup. I have to admit that I'm not as "computer
> > literate" as you are. Not sure I understand what you
> > mean by "show a tri-state with the checkbox", or how to
> > confirm "attrib" in the cmdline. I tried re-booting and
> > importing the OE files without opening Windows Explorer
> > (in case Explorer was somehow "grabbing" the folder), and
> > still get the error: "The mail folder could not be
> > opened. If another application is using the file, please
> > close it and try again." The directory containing the
> > mail files is located in the Shared Documents directory.
> >
> > I am also confused as to why EVERY folder in Windows
> > Explorer has the Read-only attribute set (even new
> > folders I create) and I cannot seem to un-set that
> > attribute. It hasn't seemed to affect anything else,
> > although I've only had this new PC up and running for a
> > few days.
> >
> > Any other help/explanation you have to offer would be
> > welcome.
> >
> > Thanks,
> > John
> >
> >
> > >-----Original Message-----
> > >It's not really read-only. The UI is trying to show a
> > tri-state with the
> > >checkbox. And the UI never actually sets the r/o bit on
> > a directory anyway.
> > >("attrib" on the cmdline can confirm this.)
> > >
> > >I don't know what's using the directory that OE wants to
> > use, but if you
> > >have it open on your desktop, explorer is one culprit.
> > >--
> > >Drew Cooper [MSFT]
> > >This posting is provided "AS IS" with no warranties, and
> > confers no rights.
> > >
> > >
> > >"John" <anonymous@discussions.microsoft.com> wrote in
> > message
> > >news:9c7701c3eac2$c9b6a0d0$a401280a@phx.gbl...
> > >> I am moving my Outlook folders (.dbx) from my old
> > >> Windows98 PC to my new XP Home Edition PC. All the
> > files
> > >> are successfully moved, but when I try to Import them
> > >> into Outlook, I get the message that the folder with
> > the
> > >> OE files cannot be opened because it may be in use by
> > >> another application. When I checked the properties of
> > >> the folder, the attributes say the folder is Read-only.
> > >> None of the files in the folder are Read-only. When I
> > >> try to un-set the Read-only attribute, it appears to
> > let
> > >> me do it, but whe I check it again, it's still read
> > only.
> > >> In poking around, it appears that ALL the folders are
> > >> Read-only. The user account I'm using is "Computer
> > >> Administrator". Why are all the folders Read-only and
> > why
> > >> can't I change or even create a folder that is not? I
> > >> also tried dragging the folder into the Shared
> > Documents
> > >> folder, but no luck.
> > >
> > >
> > >.
> > >
>
>



Relevant Pages

  • Re: Linux syscalls
    ... > A device driver or a rewrite of DOS could permit this, ... really "DOS inside Windows" or "Windows inside DOS"? ... > DOS interrupts are revectored... ... if you re-write DOS to use the _Windows device drivers_ ...
    (alt.lang.asm)
  • [Full-Disclosure] ron1n phone home, episode 4
    ... Hacking from Windows 3.x, 95 and NT ... Use secret Windows 95 DOS commands to track down and port surf computers ... Download hacker tools such as port scanners and password crackers designed ... Now you have the option of eight TCP/IP utilities to play with: telnet, ...
    (Full-Disclosure)
  • Re: MS and security: good effort but no cigar
    ... And last but not least, no fat, no dos, no multiboot. ... build upon the progress it's already made in security. ... a Windows system, it is still surprisingly easy to completely own that ... Then there's the issue of poorly secured server applications. ...
    (microsoft.public.windowsxp.general)
  • Re: assembly language and reverse engineering
    ... in Windows assembly programming what you can't learn when doing ... Windows API but about assembly programming). ... And you have far less to learn to get your first working DOS program than ... but, real mode is real mode, and pmode is pmode. ...
    (alt.lang.asm)
  • Re: Gamma Function
    ... the destructive Windows critter-makers who are ... Windows runs DOS programs ... DOS isn't a multi-tasking operating system. ... The virus itself is but a code fragment that attaches ...
    (sci.physics.relativity)