I wouldn't try to search for it if I were you. Just check for the OS and 
conditionally set the path accordingly. If it could be ANYWHERE, than that begs 
the question, what is it and who put it there? 

Bob


On May 11, 2011, at 2:14 PM, Bill Vlahos wrote:

> I want to modify a prefs file on XP and Windows 7 computers. Since the file 
> could be in different places I can't count on knowing the path to it. How do 
> I execute a search for the file by name in LC and get the path to it?
> 
> The file would only be on the user's hard disk not on any mounted servers so 
> I want to restrict the search to just the user's drive.
> 
> Bill Vlahos
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to