Create folder, defaultFolder and exporting...
alex at tweedly.net
Thu Jun 22 04:10:21 CDT 2006
Richmond Mathewson wrote:
>Thank you very much indeed Richard Gaskin.
>So . . .
>presumably to make sure the text file ends up inside my new folder I am going to have to state the path explicitly?
>This could be a "right pain" if the stacks are to be used on various computers running various operating systems - with various installations of RR in funny places.
Why would it be a pain ?
When you create the folder, it is created within the defaultFolder at
the time - so you can do
create folder lName
set the defaultFolder to (the defaultFolder & "/" & lName)
Note - that is assuming "lName" is a simple name or relative path+name -
if it's possible for it to be an absolute path name, then you need to
account for that.
Alex Tweedly http://www.tweedly.net
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 21/06/2006
More information about the use-livecode