Thread: Print Name of each File in Working Directory

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    204

    Print Name of each File in Working Directory

    Let's say I have a directory that has 100 miscellaneous files in it. How do I go about obtaining the name of each file in my working directory?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    <aummmmm>
    read
    <aummmmm>
    the
    <aummmmm>
    FAQ
    <aummmmm>

    <sleazy fortune teller>
    $200 please!
    </sleazy fortune teller>
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File being filled with NULLs
    By Tigers! in forum Windows Programming
    Replies: 2
    Last Post: 06-30-2009, 05:28 PM
  2. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM