The following works on FreeBSD: my $fn = "file name"; say qqx { ls -l "$fn" };
Not sure why this would be any different on Windows. On Mon, Feb 24, 2020 at 4:01 PM ToddAndMargo via perl6-users < 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 > > > > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Computers are like air conditioners. > They malfunction when you open windows > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -- __________________ :(){ :|:& };: