[nflug] Dos vs Bash question
Joshua Johnson
joshpauljohnson at gmail.com
Thu Jan 22 13:43:26 EST 2009
Windows/Dos question here.
I have a perl script that takes arguments from the command line. In the Bash
I can just do "myscript.pl *" which returns a list of all files in that
directory to my script. In Dos, this script works, but you have to mention
each file explicitly: "myscript.pl file1 file2 file3". If I do "myscript.pl
*" it will actually look for a file called "*", which it can't find, and
quits.
How can I use wildcards in Dos with this? I know it can be done as "dir
*.txt" works as expected.
Thanks in advance,
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20090122/46ecf0c6/attachment.html
More information about the nflug
mailing list