Greetings, Does anyone know how to get perl to run windows commands like "dir /b". Specifically, perl doesn't accept any type of argument switches. I've tried system(), exec() and backticks in my script.
However, If I remove the switch, for example: system("dir"). This works fine. But I need those switches for many of my command utilites on windows. I can't figure it out. I've spent hours on google trying to find a code snippet or comment with someone trying to use a switch. nada. I started experimenting with open(FH, $command|) but it doesn't seem to work either. hopefully someone here knows, thanks, -Mb __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>