View Full Version : Cant delete directory
Scious
December 5th 03, 01:23 AM
Winxp pro - sp1 and all updates
I have a root directory on the F: drive that I cant access, rename or delete
etc
Message is that "f:\Diablo II is not accessible. Access is denied"
I am logged in with admin priveliges.
How do I get access to this dir please
Thanks
Mark
R. C. White
December 5th 03, 01:24 AM
Hi, Scious.
First try the standard: Open a "DOS" window. Type dir f:\ /x
That should show you the Short File Name (also known as the SFN or 8.3
filename) in a column before the LFN. The name for that folder may be as
simple as diabloii, or there may be hidden characters that don't normally
appear. Whatever you see, use that to delete the file.
Wait a minute! You say it is a "root directory", but it has a name? The
Root of any volume is simply the \ character. "F:\Diablo II" would be a
file or a subdirectory (folder or subfolder) within F:\, the Root of F:.
If it is a file, use del <SFN>.
If it is a folder, use rd <SFN>.
You may need to first type Attrib F:\*.* to see whether any attributes
(Hidden, System, Read-Only) are set for that file/folder, then use the
Attrib command again to remove those attributes (attrib F:\<SFN> -r -h -s)
before using the delete or rd command. If it is a folder which is not
empty, use rd <SFN> /s to remove the directory and all its subdirectories
and files.
RC
--
R. C. White, CPA
San Marcos, TX
Microsoft Windows MVP
"Scious" > wrote in message
. au...
> Winxp pro - sp1 and all updates
>
> I have a root directory on the F: drive that I cant access, rename or
delete
> etc
>
> Message is that "f:\Diablo II is not accessible. Access is denied"
>
> I am logged in with admin priveliges.
>
> How do I get access to this dir please
>
> Thanks
> Mark
Sharon F
December 5th 03, 01:24 AM
On Thu, 12 Jun 2003 19:10:09 +0800, "Scious" > wrote:
>Winxp pro - sp1 and all updates
>
>I have a root directory on the F: drive that I cant access, rename or delete
>etc
>
> Message is that "f:\Diablo II is not accessible. Access is denied"
>
>I am logged in with admin priveliges.
>
>How do I get access to this dir please
>
>Thanks
>Mark
>
What kind of drive is F:? If a hard drive, look for an autorun.inf file
in the root directory. Delete it.
Sharon F
MS MVP [Shell/User]
Scious
December 5th 03, 01:24 AM
Sorry if my terminology confused you, we have always described the f: drive
in this case as "the" root and any directory off it as "a" root directory,
while I agree the root of a drive is in this case f:\ a root directory to me
is still f:\diablo II. Fortunately everyone I know uses this terminology
even if it may not be technically correct.
Anyway, while you have given instructions to remove the directory my request
was HOW DO I ACCESS THE DIRECTORY as I want some of the information in it. I
apologise if the subject header confused you.
Also the instructions on how to delete the directory did not work and the
syntax of the attrib command was incorrect. My comments are below for your
reference.
Dos window - the rd command it is still coming up with "access is denied" as
is rd <SFN> /s
Dos window - attrib f:\*.* on its own did not show the attributes of the
folders, but returns a "file not found". I assume it would have shown the
attirbutes of any files if there were any in that directory. The correct
command was "attrib diablo~1 /s /d" . The only attribute set was a and I
had already checked this anyway..
"R. C. White" > wrote in message
...
> Hi, Scious.
>
> First try the standard: Open a "DOS" window. Type dir f:\ /x
>
> That should show you the Short File Name (also known as the SFN or 8.3
> filename) in a column before the LFN. The name for that folder may be as
> simple as diabloii, or there may be hidden characters that don't normally
> appear. Whatever you see, use that to delete the file.
>
> Wait a minute! You say it is a "root directory", but it has a name? The
> Root of any volume is simply the \ character. "F:\Diablo II" would be a
> file or a subdirectory (folder or subfolder) within F:\, the Root of F:.
>
> If it is a file, use del <SFN>.
>
> If it is a folder, use rd <SFN>.
>
> You may need to first type Attrib F:\*.* to see whether any attributes
> (Hidden, System, Read-Only) are set for that file/folder, then use the
> Attrib command again to remove those attributes (attrib F:\<SFN> -r -h -s)
> before using the delete or rd command. If it is a folder which is not
> empty, use rd <SFN> /s to remove the directory and all its subdirectories
> and files.
>
> RC
> --
> R. C. White, CPA
> San Marcos, TX
>
> Microsoft Windows MVP
>
> "Scious" > wrote in message
> . au...
> > Winxp pro - sp1 and all updates
> >
> > I have a root directory on the F: drive that I cant access, rename or
> delete
> > etc
> >
> > Message is that "f:\Diablo II is not accessible. Access is denied"
> >
> > I am logged in with admin priveliges.
> >
> > How do I get access to this dir please
> >
> > Thanks
> > Mark
>
>
Scious
December 5th 03, 01:24 AM
Thanks Sharon - howver there are no files in the root directory and no *.inf
files .
The directory is on a fixed drive.
Mark
"Sharon F" > wrote in message
...
> On Thu, 12 Jun 2003 19:10:09 +0800, "Scious" > wrote:
>
> >Winxp pro - sp1 and all updates
> >
> >I have a root directory on the F: drive that I cant access, rename or
delete
> >etc
> >
> > Message is that "f:\Diablo II is not accessible. Access is denied"
> >
> >I am logged in with admin priveliges.
> >
> >How do I get access to this dir please
> >
> >Thanks
> >Mark
> >
>
> What kind of drive is F:? If a hard drive, look for an autorun.inf file
> in the root directory. Delete it.
>
> Sharon F
> MS MVP [Shell/User]
Sharon F
December 5th 03, 01:24 AM
Scious,
Is this folder on a drive using NTFS? If yes, try taking ownership of of
the folder. Then assign your account full control over the folder and
contents. Grab the files out of it that you want and then, if you so
desire, delete the folder. Help and Support has details on how to do
this.
Sharon F
MS MVP [Shell/User]
On Fri, 13 Jun 2003 09:22:22 +0800, "Scious" > wrote:
>Thanks Sharon - howver there are no files in the root directory and no *.inf
>files .
>
>The directory is on a fixed drive.
>
>Mark
>
>
>"Sharon F" > wrote in message
...
>> On Thu, 12 Jun 2003 19:10:09 +0800, "Scious" > wrote:
>>
>> >Winxp pro - sp1 and all updates
>> >
>> >I have a root directory on the F: drive that I cant access, rename or
>delete
>> >etc
>> >
>> > Message is that "f:\Diablo II is not accessible. Access is denied"
>> >
>> >I am logged in with admin priveliges.
>> >
>> >How do I get access to this dir please
>> >
>> >Thanks
>> >Mark
>> >
>>
>> What kind of drive is F:? If a hard drive, look for an autorun.inf file
>> in the root directory. Delete it.
>>
>> Sharon F
>> MS MVP [Shell/User]
>
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.