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 The trademark symbol at the end of the "Power" folder's name appears to be translated to the symbol's Unicode value. After the code line: sh.Execute cmd the shell's ErrorCode indicates an error and it's result contains: "cp: /Users/dennis/Desktop/PowerBaze342204242/contents: No such file or directory" Has anybody else run into a problem like this? Is there a workaround for it other than creating my own folder copy routine? _______________________________________________ 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>
