Bryan Harris wrote: > > I'm sure this has been answered before, but I can't seem to find an answer. > > Windows doesn't seem to want to expand wildcards before passing arguments to > my script. For example, typing: > > fixNCcode P* > > Passes 'P*' to my script instead of all files that start with "P". > > Is there a workaround? How is this generally done?
You have to use the glob function: my @files = glob $ARGV[0]; perldoc -f glob perldoc File::Glob John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]