Re: system "dir"; works fine, but system "dir foo.txt" gets an error

2002-01-31 Thread Peter Scott
At 11:35 AM 1/31/02 -0500, Dave Benware wrote: >The line system "dir foo.txt"; returned "Bad command or file name". > >foo.txt does exist and I can run dir foo.txt within a dos box just >fine. Interestingly to me, system "dir"; worked okay. I guess it >just won't take an argument. > >So, have I

system "dir"; works fine, but system "dir foo.txt" gets an error

2002-01-31 Thread Dave Benware
Running the script (below) from Bob Showalter brought a problem to surface on this win98se using ActivePerl 560 build 630. The line system "dir foo.txt"; returned "Bad command or file name". foo.txt does exist and I can run dir foo.txt within a dos box just fine. Interestingly to me, system