> -----Original Message----- > From: Richard D. Miller [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 3:41 PM > To: [EMAIL PROTECTED] > Subject: Linux and the defaultfolder > > > We're running into a problem with our first Linux customer for our Rev > software and haven't a clue what is going on. > > Our software starts up from a Rev executable. The first thing > it does is > look for a small text file containing a valid serial number. > It looks in the > same folder from which the exe file was started. There is no > path defined at > that point, meaning it is relying on the defaultfolder to > define the path.
Well, for starters, I wouldn't use the defaultfolder command, as it is not actually a Rev/MC command. It is included only for compatibility with HC, Supercard, etc. and is mapped to the directory property. To make sure you are where you want to be, have you tried the following code: get the effective fileName of this stack set the itemDelimiter to "/" put empty into last item of it set the directory to it set the itemDelimiter to comma Note: the above code was taken straight from the metacard stackfiles tutorial on the xworlds web site (www.xworlds.com). -Glen Yates _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
