On Jan 25, 2007, at 4:40 PM, Dennis Birch wrote:

I've run into a problem while using the FolderItem.ShellPath method in
a folder copy routine that uses a shell to execute a "cp -R" command.

The problem occurs with a folder in the filepath that contains the
trademark symbol (™).

After executing the RB code: cmd = "cp -R " + Target.ShellPath + " " +
dest.ShellPath

the variable cmd contains: cp -R /Users/dennis/Desktop/images
/Users/dennis/Desktop/Power\342\204\242/contents

What does the Terminal.app show you when you drag the folder into it? For me, it shows the escape sequence "\342\204\242" which is what you're seeing.

-Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.

REAL World 2007 Conference
May 9 - 11 in Austin, Texas
<http://www.realsoftware.com/realworld>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to