Build on Mac for Win
janschenkel at yahoo.com
Wed Apr 16 03:46:01 EDT 2003
--- Romain Lafourcade
<lafourcade.romain at numericable.fr> wrote:
> Hello everybody.
> I'm working on Mac OS 8.6 and 9.2 with RR 1.1.1.
> My main project is supposed to be delivered on a
> CD-ROM, one app coming in
> two versions depending of the OS: Mac or Win, and I
> have a little side
> project that gives me troubles.
> It's a very light notepad made of a main standalone
> and a stack so that my
> girlfriend can save her notes. I have no problem
> with my Mac app (made only
> for testing) but the Win build (the real thing) is
> somewhat strange: when
> copied to my girlfriends PC, the stack and the
> standalone are both read-only
> and I have to uncheck the corresponding checkbox in
> both PROPERTIES
> Can someone tell me what's going on and what can be
> Actually, it's not a great trouble since this
> "writeable" property is set
> once and forever but...
The problem is with Windows itself : everything on a
CD-ROM is read-only, and when you copy a file off a
CD-ROM, it will set the read-only property to true.
What you can do from your standalone is use a dos
command to change the setting for the data-stack:
get shell("attrib -r" && tFileName)
when you first open it -- I usually have a file named
'FIRSTRUN.YES' in the folder, which I delete after
having run any attrib commands.
Hope this helped,
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
More information about the use-livecode