Launching a local file - NEW SOLUTION

Brian Yennie briany at qldlearning.com
Sat Aug 9 13:41:01 EDT 2003


To pass file paths to "cp", you'll need to escape spaces in the file 
path or put the path in quotes:

replace space with ("\"&space) in filePath

or

put quote&filePath&quote into filePath

HTH

Brian


> on mouseup
>   LaunchIt "/Volumes/FourthWorld/4W Catalog/webmerge/WebMerge 
> 2.0/WebMerge
> Help/WebMerge_Help/WebMergeHelp.html"
> end mouseup
>
>
> And got an error:
>
>
>     Error:usage: cp [-R [-H | -L | -P]] [-f | -i] [-p] src target
>        cp [-R [-H | -L | -P]] [-f | -i] [-p] src1 ... srcN directory




More information about the metacard mailing list