PC Review


Reply
Thread Tools Rate Thread

how can I delete this file

 
 
Juco
Guest
Posts: n/a
 
      7th Jan 2004
win xp pro.

I have a HTML file that I want to delete but get the message "access denied"
I am the PC administrator and I have tried various settings on the folder it
is in but still cannot delete it. I know its probably me as I am never quite
sure how to set security on folders etc.

help please
thanks


 
Reply With Quote
 
 
 
 
Rehan
Guest
Posts: n/a
 
      7th Jan 2004
Logout and re-login to release the current lock on the file as might be
currently in use by IE/some application.




"Juco" <(E-Mail Removed)> wrote in message
news:vjQKb.6776$(E-Mail Removed)...
> win xp pro.
>
> I have a HTML file that I want to delete but get the message "access

denied"
> I am the PC administrator and I have tried various settings on the folder

it
> is in but still cannot delete it. I know its probably me as I am never

quite
> sure how to set security on folders etc.
>
> help please
> thanks
>
>



 
Reply With Quote
 
IBTerry [MSFT]
Guest
Posts: n/a
 
      7th Jan 2004
Try to take ownership per the following article.
308421 HOW TO: Take Ownership of a File or Folder in Windows XP
http://support.microsoft.com/?id=308421

Access denied errors type errors can also appear because the file maybe in
use by another process.

IBTerry [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


 
Reply With Quote
 
Juco
Guest
Posts: n/a
 
      7th Jan 2004
I have tried log in/out but this doesn`t work.

I have tried taking ownership and this still won`t allow delete.

It is an old HTLM log file from a programme thats not in use anymore.

Any other ideas on how to delete?

Juco
"IBTerry [MSFT]" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> Try to take ownership per the following article.
> 308421 HOW TO: Take Ownership of a File or Folder in Windows XP
> http://support.microsoft.com/?id=308421
>
> Access denied errors type errors can also appear because the file maybe in
> use by another process.
>
> IBTerry [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
>



 
Reply With Quote
 
Lee J. Moore
Guest
Posts: n/a
 
      7th Jan 2004
On Wed, 07 Jan 2004 17:07:06 +0000, Juco wrote:

> I have tried log in/out but this doesn`t work.
>
> I have tried taking ownership and this still won`t allow delete.
>
> It is an old HTLM log file from a programme thats not in use anymore.
>
> Any other ideas on how to delete?


Login as Administrator, open a command prompt and delete it the old
fashioned DOS way.
--
Lee J. Moore
 
Reply With Quote
 
Juco
Guest
Posts: n/a
 
      7th Jan 2004
Could some one please explain `how to` delete the dos way
thanks

Juco
"Lee J. Moore" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Wed, 07 Jan 2004 17:07:06 +0000, Juco wrote:
>
> > I have tried log in/out but this doesn`t work.
> >
> > I have tried taking ownership and this still won`t allow delete.
> >
> > It is an old HTLM log file from a programme thats not in use anymore.
> >
> > Any other ideas on how to delete?

>
> Login as Administrator, open a command prompt and delete it the old
> fashioned DOS way.
> --
> Lee J. Moore



 
Reply With Quote
 
Lee J. Moore
Guest
Posts: n/a
 
      7th Jan 2004
On Wed, 07 Jan 2004 22:07:23 +0000, Juco wrote:
>
> Could some one please explain `how to` delete the dos way thanks


Login as Admin, open a Command Prompt (from the Start menu), change to the
directory where the file is located. Eg.

cd c:\Documents and Settings\Username\etc\

Then delete the file with the del command. Eg.

del undeletablefile.htm

--
Lee J. Moore
O God, make me good, but not yet.
 
Reply With Quote
 
Juco
Guest
Posts: n/a
 
      7th Jan 2004
Thanks Lee I will try that later.
Thanks for your help.
Juco


"Lee J. Moore" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Wed, 07 Jan 2004 22:07:23 +0000, Juco wrote:
> >
> > Could some one please explain `how to` delete the dos way thanks

>
> Login as Admin, open a Command Prompt (from the Start menu), change to the
> directory where the file is located. Eg.
>
> cd c:\Documents and Settings\Username\etc\
>
> Then delete the file with the del command. Eg.
>
> del undeletablefile.htm
>
> --
> Lee J. Moore
> O God, make me good, but not yet.



 
Reply With Quote
 
Drew Cooper [MSFT]
Guest
Posts: n/a
 
      7th Jan 2004
If that doesn't work, try "attrib -r -s -h undeletablefile.htm", then try
the del command again.

If that doesn't work, it's likely that some app has an open handle to the
file. Even if you don't know what's holding the handle, you should be able
to rename the file then reboot to force the handle closed. After you boot
up again, you should be able to delete the file.
--
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.


"Lee J. Moore" <(E-Mail Removed)> wrote in message
news(E-Mail Removed)...
> On Wed, 07 Jan 2004 22:07:23 +0000, Juco wrote:
> >
> > Could some one please explain `how to` delete the dos way thanks

>
> Login as Admin, open a Command Prompt (from the Start menu), change to the
> directory where the file is located. Eg.
>
> cd c:\Documents and Settings\Username\etc\
>
> Then delete the file with the del command. Eg.
>
> del undeletablefile.htm
>
> --
> Lee J. Moore
> O God, make me good, but not yet.



 
Reply With Quote
 
=?Utf-8?B?QmlnbWFj?=
Guest
Posts: n/a
 
      14th Jan 2004
If the file is giving you that much trouble, use command promt to delete the file,however firstly go to task manager, click on explorer.exe and end the process. Failing that boot into safe mode and try it again.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can i delete an email and skip the delete file as a single step Hugh Microsoft Outlook Discussion 1 8th Apr 2010 01:07 PM
Delete only unread messages in my delete file =?Utf-8?B?U3Vl?= Microsoft Outlook Discussion 3 7th Jul 2005 11:21 AM
Difference between Delete Subfolders and File and Delete =?Utf-8?B?Um9i?= Microsoft Windows 2000 File System 0 29th Jun 2005 03:31 PM
Re: Macro to delete sheets and saves remaining file does not properly delete module gazornenplat Microsoft Excel Programming 0 22nd Jun 2005 01:12 AM
Macro to delete sheets and saves remaining file does not properly delete module pherrero Microsoft Excel Programming 7 21st Jun 2005 05:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:49 PM.