Re: "Read-only" Folders

From: Drew Cooper [MSFT] (dcoop_at_online.microsoft.com)
Date: 02/06/04


Date: Thu, 5 Feb 2004 18:32:30 -0800

Yup. "Dos attrib command" - that's why. A surprising number of
anti-Windows folks tell me that Windows (the current stuff - XP/2003) is
based on DOS. I try to stamp that myth out every time I get the chance.
:-)
I'd be a lot less frustrated if people were convinced that it's really VMS
under the hood. But that's other history, I suppose.

-- 
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Roger Abell [MVP]" <mvpNoSpam@asu.edu> wrote in message
news:%23Ef6kX56DHA.2416@TK2MSFTNGP10.phx.gbl...
> 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: NTVDM hard error on Windows 2003 Server SP1
    ... Windows 2003 Server SP1 platform, there is a pop-up box with the error ... run regedit.exe from a DOS window command prompt. ... The server is not a domain controller, and is on a LAN with a Windows ...
    (microsoft.public.windows.server.general)
  • Re: Wildcard on Folder Name
    ... This is not DOS - it is the Command Prompt. ... Microsoft Windows XP - Command-line reference A-Z ... Microsoft Windows XP - MS-DOS subsystem commands ...
    (microsoft.public.windowsxp.general)
  • Re: DOS / XP bat file programming question
    ... How do I feed a "y" response to a DOS command that wants to prompt me ... Note that DOS is an operating system, same as Windows XP. ... There is no DOS under Windows, only a Command Prompt. ...
    (microsoft.public.windowsxp.general)
  • Re: hal.dll is corrupt or missing
    ... I didn't understand how you map the drive. ... When running Windows PE you have access to a command window (DOS like, ...
    (microsoft.public.windowsxp.embedded)
  • RE: re-setting boot partition
    ... Description of the Windows 2000 Recovery Console ... For a Microsoft Windows XP version of this article, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.setup_upgrade)