On 1 Oct 2014, at 04:17, Kay C Lan <lan.kc.macm...@gmail.com> wrote:

> Terminal enter the following:
> 
> find $PWD
> 
> The output will be on each line the full path of either a Folder or a file.
> 
> I just copied and pasted the output into a Text editor which then
> reports the number of lines - in my case it's 527579
> 
> Next, in LC in the msg box
> 
> put shell("find $PWD") into tStore
> --put tStore & cr into msg
> put the number of lines of tStore after msg
> 
> In my case the output is: 17794.
> 
> Obviously this is a big difference. If you want to check the actual
> output you can uncomment the line that will put tStore into msg, but
> at this stage I only wish to confirm that the number of lines
> (Folders/files) outputed is different.

Out of interest - are you setting the defaultFolder before running this? Try 
running ‘put shell(“echo $PWD”)’ and make sure it is definitely running in your 
user folder and not /Applications (on OSX, the defaultFolder is initially 
/Applications).

Regards,
Fraser
_______________________________________________
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