Hello y'all,
I'm trying to script MetaCard 2.5 so that it can DELETE a FOLDER. But it just
doesn't work, no matter what I try. Given my experience with the command-line
in DOS and in UNIX, I know that one cannot delete a folder that has something
*in* it. So I tried emptying the files in my
Alain,
The .. and . folders aren't actual folders - they are just
symbolic. Thus there is nothing to delete. Problems deleting regular
folders is another story, but the . and .. entries shouldn't be
the source of your problem.
If you are really stuck in Transcript land, you could try
Thanks for your advice, Brian. :)
If you are really stuck in Transcript land, you could try
using shell() to call through to the command-line where
things behave like you are accustomed to? If you use rm
on the command line (UNIX / Linux / MacOS X), there are
options to recurse and force
Bummer... I guess the . and .. are artifacts of a dual Classic /
OS X situation? Or maybe it's just a MetaCard thing.
In any case, the only other alternative I can think of would be to use
AppleScript. I'm not an expert there, but undoubtedly there is a
delete folder function.
Thanks
Alain Farmer wrote:
Thanks for your advice, Brian. :)
If you are really stuck in Transcript land, you could try
using shell() to call through to the command-line where
things behave like you are accustomed to? If you use rm
on the command line (UNIX / Linux / MacOS X), there are
options to
Thanks Jacque,
You can get the detailed files and the detailed folders.
This will give you full listings of everything, including
hidden items. Then you'll need to run a loop to walk the
directories, deleting all the files in each file list,
and getting the files inside each folder in the