PC Review


Reply
Thread Tools Rate Thread

deleting a file deletes corresponding directory!!!!

 
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      23rd Mar 2008

create a directory called
asdf_files

create a file called asdf.htm

like
c:\blah\asdf_files c:\blah\asdf.htm
i.e. the asdf.htm file not in the asdf_files directory.


Now delete one!!!!

And it deletes the other one!!!!!

It doesn`t have to be asdf, it can be anything. And the file can
be .htm or .html

I know why windows does this.. Because when saving websites locally
with internet explorer, that convention is used, and it wants to help
users delete them should they choose to

Is there any way to fix this? / Stop it from doing this?
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      23rd Mar 2008

<(E-Mail Removed)> wrote in message
news:175daec9-428f-4b4f-bfa6-(E-Mail Removed)...
>
> create a directory called
> asdf_files
>
> create a file called asdf.htm
>
> like
> c:\blah\asdf_files c:\blah\asdf.htm
> i.e. the asdf.htm file not in the asdf_files directory.
>
>
> Now delete one!!!!
>
> And it deletes the other one!!!!!
>
> It doesn`t have to be asdf, it can be anything. And the file can
> be .htm or .html
>
> I know why windows does this.. Because when saving websites locally
> with internet explorer, that convention is used, and it wants to help
> users delete them should they choose to
>
> Is there any way to fix this? / Stop it from doing this?


I was unable to duplicate your observation, perhaps because
I used different methods when creating/deleting my files and
folders. You should be much more precise when reporting
this phenomenon so that other people can duplicate it step
by step, e.g. like so:
1. Launch "My Computer".
2. Navigate to C:\.
3. Create a folder called "C:\asdf_files".
etc. etc.


 
Reply With Quote
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      23rd Mar 2008
On 23 Mar, 13:31, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> <jameshanle...@yahoo.co.uk> wrote in message
>
> news:175daec9-428f-4b4f-bfa6-(E-Mail Removed)...
>
>
>
>
>
>
>
> > create a directory called
> > asdf_files

>
> > create a file called asdf.htm

>
> > like
> > c:\blah\asdf_files * *c:\blah\asdf.htm
> > i.e. the asdf.htm file not in the asdf_files directory.

>
> > Now delete one!!!!

>
> > And it deletes the other one!!!!!

>
> > It doesn`t have to be asdf, it can be anything. *And the file can
> > be .htm or .html

>
> > I know why windows does this.. Because when saving websites locally
> > with internet explorer, that convention is used, and it wants to help
> > users delete them should they choose to

>
> > Is there any way to fix this? / Stop it from doing this?

>
> I was unable to duplicate your observation, perhaps because
> I used different methods when creating/deleting my files and
> folders. You should be much more precise when reporting
> this phenomenon so that other people can duplicate it step
> by step, e.g. like so:
> 1. Launch "My Computer".
> 2. Navigate to C:\.
> 3. Create a folder called "C:\asdf_files".
> etc. etc.-



It happens to me on my 2 machines. One with win xp pro sp2, the other
with win xp pro. The other with plain win xp pro (prob pre sp1). The
person I bought "the laptop" from installed the plain one. I
installed win xp pro sp2 on another computer. So totally independently
done, and different windows xp installations.
Both have same problem.



However I create the. folder and file, I get the problem.

Even if I use the command prompt
md blah_files
copy con blah.html

Windows explorer, or "my computer" . Whether in C or a subfolder.

If I delete one from the command line it is fine.

But if I delete one from "my computer" - On C, or any folder within C,
I get the problem. Deleting them from windows explorer, I get the
problem.

Same thing of course if creating them by saving a website on my hard
drive, with internet explorer. `cos it creates that file and
directory. That is how I originally noticed the problem. When trying
to delete the directory part.. I worked around it by renaming the
directory and deleting it. But that`s a workaround, not a fix.

It looks like your windows doesn`t have that problem..
Maybe as a test try saving a website in internet explorer. Since that
will create a directory and file such that I speak of.. But it looks
like your windows xp does not have this behaviour.
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      23rd Mar 2008

<(E-Mail Removed)> wrote in message
news:644dfc42-adb2-4444-8572-(E-Mail Removed)...
On 23 Mar, 13:31, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> <jameshanle...@yahoo.co.uk> wrote in message
>
> news:175daec9-428f-4b4f-bfa6-(E-Mail Removed)...
>
>
>
>
>
>
>
> > create a directory called
> > asdf_files

>
> > create a file called asdf.htm

>
> > like
> > c:\blah\asdf_files c:\blah\asdf.htm
> > i.e. the asdf.htm file not in the asdf_files directory.

>
> > Now delete one!!!!

>
> > And it deletes the other one!!!!!

>
> > It doesn`t have to be asdf, it can be anything. And the file can
> > be .htm or .html

>
> > I know why windows does this.. Because when saving websites locally
> > with internet explorer, that convention is used, and it wants to help
> > users delete them should they choose to

>
> > Is there any way to fix this? / Stop it from doing this?

>
> I was unable to duplicate your observation, perhaps because
> I used different methods when creating/deleting my files and
> folders. You should be much more precise when reporting
> this phenomenon so that other people can duplicate it step
> by step, e.g. like so:
> 1. Launch "My Computer".
> 2. Navigate to C:\.
> 3. Create a folder called "C:\asdf_files".
> etc. etc.-



It happens to me on my 2 machines. One with win xp pro sp2, the other
with win xp pro. The other with plain win xp pro (prob pre sp1). The
person I bought "the laptop" from installed the plain one. I
installed win xp pro sp2 on another computer. So totally independently
done, and different windows xp installations.
Both have same problem.



However I create the. folder and file, I get the problem.

Even if I use the command prompt
md blah_files
copy con blah.html

Windows explorer, or "my computer" . Whether in C or a subfolder.

If I delete one from the command line it is fine.

But if I delete one from "my computer" - On C, or any folder within C,
I get the problem. Deleting them from windows explorer, I get the
problem.

Same thing of course if creating them by saving a website on my hard
drive, with internet explorer. `cos it creates that file and
directory. That is how I originally noticed the problem. When trying
to delete the directory part.. I worked around it by renaming the
directory and deleting it. But that`s a workaround, not a fix.

It looks like your windows doesn`t have that problem..
Maybe as a test try saving a website in internet explorer. Since that
will create a directory and file such that I speak of.. But it looks
like your windows xp does not have this behaviour.

===============

Even if I remove the file (or the folder) from "My Computer",
I am unable to duplicate your phenomenon. It is either due
to something particular installed on your machine or else it
is highly dependent on the exact step-by-step process that
you follow (which you have not detailed so far).


 
Reply With Quote
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      23rd Mar 2008
On 23 Mar, 14:25, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
<snip>
> Even if I remove the file (or the folder) from "My Computer",
> I am unable to duplicate your phenomenon. It is either due
> to something particular installed on your machine or else it
> is highly dependent on the exact step-by-step process that
> you follow (which you have not detailed so far).-


As I said, it happens any way I create them. And if I delete them then
it is only fine when deleting from command propmt. I have nailed the
problem down such that one doesn`t need a detailed process(if one has
the problem!).

Nevertheless,


Here is a way that is not too tedious to follow or write.

And a detailed process.

C:\>md asdf
C:\>cd asdf
C:\asdf>md blah_files
C:\asdf>copy con blah.html
abc
^Z
1 file(s) copied.
C:\asdf>explorer .\
C:\asdf>

Now the explorer window comes up.

Highlight the blah.html file or blah_files folder, hit DEL , OK.
And it deletes Both.

It seems to me that you clearly cannot duplicate the problem on your
machine..

But I suspect it might be quite common.

I am on IE 6. 6.0.2800 ...... The other has IE6 6.0.2900
Later in the week I will get the chance to try it on another with
windows well updated, e.g. with IE7. That one also, windows installed
independently, by the guy I bought the laptop from. (a different guy
to the other laptop, and of course different to my computer that I
installed windows on)

I have found another aspect to the problem .

Not only when you delete one it deletes both.
But when you copy one it copies both.

 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      23rd Mar 2008
Now that you have posted a step-by-step process, I can
duplicate the phenomenon on my own machine (which is why
I asked for it in the first place!). The behaviour you observe
is by design - see here:
http://support.microsoft.com/kb/252721


 
Reply With Quote
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      23rd Mar 2008
On 23 Mar, 16:16, e...@127.0.0.1 (Eddy) wrote:
> On Sun, 23 Mar 2008 06:25:19 -0700 (PDT) *<jameshanle...@yahoo.co.uk> wrote:
>
>
>
>
>
> > *From:* "jameshanle...@yahoo.co.uk" <jameshanle...@yahoo.co.uk>
> > *Date:* Sun, 23 Mar 2008 06:25:19 -0700 (PDT)

>
> > create a directory called
> > asdf_files

>
> > create a file called asdf.htm

>
> > like
> > c:\blah\asdf_files * *c:\blah\asdf.htm
> > i.e. the asdf.htm file not in the asdf_files directory.

>
> > Now delete one!!!!

>
> > And it deletes the other one!!!!!

>
> > It doesn`t have to be asdf, it can be anything. *And the file can
> > be .htm or .html

>
> > I know why windows does this.. Because when saving websites locally
> > with internet explorer, that convention is used, and it wants to help
> > users delete them should they choose to

>
> > Is there any way to fix this? / Stop it from doing this?

>
> In Control Panel, Folder Options, View, Managing pairs of Web pages and folders.
> Select the required option.
>
> Eddy.-


great, thanks

doh!

 
Reply With Quote
 
jameshanley39@yahoo.co.uk
Guest
Posts: n/a
 
      23rd Mar 2008
On 23 Mar, 15:46, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
> Now that you have posted a step-by-step process, I can
> duplicate the phenomenon on my own machine (which is why
> I asked for it in the first place!). The behaviour you observe
> is by design - see here:http://support.microsoft.com/kb/252721


I can see it is by design, I said so myself!

the phenomenon I described occurred any way that the file and folder
are created. And however they are deleted, (if not deleted in the
command prompt)

Given that you duplicated the problem when given that detailed
process. What processes were you using that avoided the problem/
behaviour while that setting was set in tools..folder options ?


 
Reply With Quote
 
George
Guest
Posts: n/a
 
      24th Mar 2008
(E-Mail Removed) wrote:
> create a directory called
> asdf_files
>
> create a file called asdf.htm
>
> like
> c:\blah\asdf_files c:\blah\asdf.htm
> i.e. the asdf.htm file not in the asdf_files directory.
>
>
> Now delete one!!!!
>
> And it deletes the other one!!!!!


That's the way it works by default. If you save a web page Windows
stores pics and related files into a folder with the same name as the
page. Deleting the page it also deletes the folder content. No mistery.
 
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
Deleting %WINDIR%\Setup\Scripts directory and the Setupact.log file Mazzaroc Windows Vista Installation 0 25th May 2009 07:37 PM
Deleting shortcuts - looks like it deletes taget file? Oppie Windows Vista General Discussion 7 16th Apr 2007 02:05 PM
error deleting file or folder / file or directory is corrupted =?Utf-8?B?RGVybGV0aA==?= Windows XP General 6 10th Feb 2006 11:37 AM
Routine that saves a file. If more than 7 in directory, deletes the oldest. wayliff Microsoft Excel Programming 3 27th Dec 2005 03:16 PM
Deleting long HTML file names from IE TMP directory fran doughety Windows XP Internet Explorer 1 5th Oct 2003 12:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:16 PM.