Le 12 mars 07 à 17:21 Soir, Tim Jones a écrit: > On Mar 11, 2007, at 12:08 PM, Sven E Olsson wrote: > >> ' create a folderitem from the absolute path >> f = GetFolderItem(pathStr) > > I ALWAYS use the Shell path. This way, any mountpoints will be > properly resolved regardless of the name of the volumes (volumes with > the same name have the same Absolute path).
Are not there times where it won't work? Suppose I have 2 "Macintosh HD" drives (removable). I insert the first one, then the second one. I save a shell path then I eject both disks. Then, I insert the disks in the opposite order (the second one and then the first one). The saved shell path will point to the wrong disk, won't it? >> My code is still working... >> I need some help to get my code to NOT work... > > Huh? > > Why would you want to actually have the code break? He wrote that in the first paragraph: >> Hi list, >> I wanted some code that do NOT work, yes it should NOT work... >> >> I think all of us know that create folderitems from absolute paths is >> a bad thing.. >> And now i try to write some code that not working using absolute path >> when i create a folderitem. Maybe for testing purposes. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
