POV-Ray : Newsgroups : povray.off-topic : An annoying thing in Windows (which mostly doesn't happen in Linux) : Re: An annoying thing in Windows (which mostly doesn't happen in Linux) Server Time
5 Sep 2024 11:23:30 EDT (-0400)
  Re: An annoying thing in Windows (which mostly doesn't happen in Linux)  
From: Patrick Elliott
Date: 22 Sep 2009 16:08:50
Message: <4ab92ed2$1@news.povray.org>
scott wrote:
>> while you can move the documents, **I know** personally that this 
>> breaks some applications which expect the document path to remain the 
>> same, after detecting they are in XP or higher.
> 
> Such an application that assumes absolute folder paths that are hard 
> coded would be ridiculous.  It would mean for instance it would only 
> work on English 32bit XP and nothing else.  German XP (and I suspect all 
> other languages) has different folder names for My Documents, 64bit has 
> a "Program Files (x86)" folder, Vista has C:\Users rather than 
> C:\Documents and Settings, didn't Win2K have C:\WINNT as the windows 
> folder or something? Basically such a program would suck so much, the 
> fact that it stored it's data on C rather than D would be the least of 
> your worries.
> 
> BTW Vista can trick older/badly written programs in to thinking they are 
> writing to a certain location, but actually stores the files in the 
> correct area.  If you tell Vista your user area is somewhere else (eg D 
> drive) then really everything will be put on the D drive, even by badly 
> behaved programs that try to write directly to the C drive.
> 
> 
Uh. Think you misunderstand. At least one did, more or less, this:

1. Install.
2. First start up - ask OS where 'My Documents', or local equivalent is.
3. Create folders for here for the documents, then store this location.
4. I change the location in OS (And.. you would think if you had this 
option they would include an "move related documents to new location", 
option...).
5. Program breaks, since its *looking* for what was created in #3, 
rather than asking the OS if the path to 'My Documents' is the *same* as 
it was when it installed originally.

This is far more likely to be common than for my copy of XP to suddenly 
morph into 64 bit, or German. lol

-- 
void main () {

     if version = "Vista" {
       call slow_by_half();
       call DRM_everything();
     }
     call functional_code();
   }
   else
     call crash_windows();
}

<A HREF='http://www.daz3d.com/index.php?refid=16130551'>Get 3D Models, 
3D Content, and 3D Software at DAZ3D!</A>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.