Feed directory listing into another perl script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kernelsanders
    New Member
    • Apr 2007
    • 1

    Feed directory listing into another perl script

    Hi,

    I'm still new to perl and have to figure out how to feed a complete directory listing as parameters into another perl script. I've looked around online and found command examples that use words like "cat" "find" "name".....wher e can I go to learn more about using these and any other command line arguments in the Windows environment? So far, every time I google the combination of cat and perl I find that cat is a Unix variable.

    Thanks.
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    on windows "dir" generates a directory listing. At the dos prompt type:

    dir /?

    to get a listing of the options for the dir command. You probably want to use:

    dir /B

    or just use perl to get the directory listing.

    Comment

    Working...