lingo-l testing for file and folders

2005-03-11 Thread nik crosina
Hi, I am looking for a method to test whether the item at the end of a path (e.g. the movie path this_one is a file or a folder. I am looking up a folder structure and have to selectively copy folders and files from it. Using FileXtra and recursive scripting gets me as far as creating the

Re: lingo-l testing for file and folders

2005-03-11 Thread Duck
Friday, March 11, 2005, 3:03:30 PM, nik wrote: nc I am looking for a method to test whether the item at the end of a path nc (e.g. the movie path this_one is a file or a folder. Use buddy api. baFileExists baFolderExists I think you can use 2 commands from buddyapi for free.

Re: lingo-l testing for file and folders

2005-03-11 Thread Cole Tierney
At 3:03 PM + 3/11/05, nik crosina wrote: I am looking for a method to test whether the item at the end of a path (e.g. the movie path this_one is a file or a folder. BuddyAPI can help out here. Check out: * baFileExists string Filename -- returns 1 if Filename exists * baFolderExists string