At 11:55 AM 1/31/02 -0500, Dave Benware wrote: > > Nope. It just thinks that the name of the command you're running is "dir > > foo.txt". Separate the arguments explicitly, e.g.,: > > > > C:\WINDOWS>perl -e "system qw(dir mouse.txt)" > >Yah, that works fine, tho I don't understand why. Is there some doc I >can read on this? Also, I forgot to say that: exec "dir foo.txt"; worked >okay which confused me.
Me too. AS must have implemented exec and system somewhat differently from how they work on Unix. Sorry, I couldn't find anything on this in the AS documentation either. So now you have knowledge that enhances your market value :-) -- Peter Scott Pacific Systems Design Technologies http://www.perldebugged.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]