Same file?

Björnke von Gierke bvg at mac.com
Fri Apr 16 18:00:23 EDT 2010


if there is a file "any/valid/rev/internal/path" then


On 16 Apr 2010, at 23:21, Jeff Massung wrote:

> Is there a nice little way in Rev to check and see if two file paths are the
> same? For example:
> 
> "../../../Home/jeff/foo.txt"
> "/Users/Home/jeff/foo.txt"
> "c:\Users\Home\jeff\foo.txt"
> 
> These may all actually be the same file. Before I go down the road of
> directory traversals, file path separators, and drive name parsing... is
> there a way for me to know in Rev if they are the same easily?
> 
> Jeff M.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list