I am converting images using imagemagick from php. I have a directory name that contains ampersand. When I issue a command from php using exec it does not work for the directory that co开发者_StackOverflow社区ntains ampersand (&) sign. Can anyone help me how to solve this problem? I can't rename the directory.
Thanks
Try enclosing the directory name in single-quotes. This should disable the special meaning of the ampersand.
精彩评论