I use:

launch url ("file:" & tPathToFolder)

—Marty

> On Jun 19, 2021, at 11:48 AM, Paul Dupuis via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> What is the "best" way (or any way) to open a folder on the Windows desktop 
> from a Livecode script.
> 
> For example:
> 
> on openFolder pPath -- where pPath is the path and name to a document (file)
>   set itemDel to slash
>   delete last item of pPath -- leaves the the path to the folder containing 
> the document
>   -- now, how do I open this on the desktop (i.e in Explorer)?
> 
> 
> end openFolder
> 


_______________________________________________
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