On Mon, Feb 24, 2020 at 4:01 PM ToddAndMargo via perl6-users <perl6-us...@perl.org <mailto:perl6-us...@perl.org>> wrote:

    Hi All,

    Windows 7

    In the following

    @Result = qqx { C:/Windows/System32/fsutil.exe usn readdata
    \"$FileName\" }.lines;


    $FileName needs to be in quotes as it can have
    spaces in it.


    The following did not work:

    \"$FileName\"
    "$FileName\
    $FileName

    What am I doing wrong, this time?

    Many thanks,
    -T

On 2020-02-25 08:29, Paul Procacci wrote:
The following works on FreeBSD:

my $fn = "file name";
say qqx { ls -l "$fn" };

Not sure why this would be any different on Windows.

What version are you running?

Reply via email to