in reply to Re: Problem running shell command from Perl
in thread Problem running shell command from Perl

Thanks for your response.

I did try using "\\" as the separator, and also tried using 'q//' as described in your msg. In both cases I got the same result: "Error: The system cannot find the file specified"

  • Comment on Re^2: Problem running shell command from Perl

Replies are listed 'Best First'.
Re^3: Problem running shell command from Perl
by atcroft (Abbot) on Jun 20, 2023 at 06:46 UTC

    If memory serves, &#{value}; is an HTML representation; you might have to designate those characters using the \x{value} or \N{U+value}. So you might try writing that part of the string as something like:

    q/"C:\Users\James\Music\/ . qq/\N{U+22283}\N{U+35486}/ . qq/\N{U+25079}\N{U+24565}/ . qq/\N{U+32769}\N{U+27468}/ . q/ Vol. 2"/

    Does that help?

      I tried several variations of this, but could not get any of them to work. The characters still seem to get mangled on the way to fsutil.