Open A Windows Desktop Folder?

Scott Rossi scott at tactilemedia.com
Thu Mar 29 20:05:33 EDT 2007


Recently, Ken Ray wrote:

>> on openFolder pPath
>>   replace "/" with "\" in pPath
>>   set the hideConsoleWindows to true
>>   get shell("explorer.exe /root,"& quote & pPath & quote)
>> end openFolder
> 
> You need to add "start" before your call:
> 
>    get shell("start explorer.exe /root,"& quote & pPath & quote)

Bingo!  Thanks Ken!

> And now that I've found that, I'll go update the tip on my site...

Yeah, this currently works better than the .lnk technique as it works with
folders :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list