Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have never been to any technical site that shows concern just to anybody with problems...I look forward to also share in the future..."

Geography

Where in the world do Tek-Tips members come from?

Displaying DIR contents MS-DOS

titanzero (Programmer)
12 Jul 07 0:13
Hello everybody

I am writing a console app for to run in MS-DOS cmd under Windows XP. I want to be able to display all files in a selected directory, like the DIR command does in DOS. Is this possible and if so does any one know where I might be able to find some info on the subject.

Thank you for you time
Andrew
Salem (Programmer)
12 Jul 07 2:55
http://msdn2.microsoft.com/en-us/library/aa364418.aspx
Check the example at the end.

--
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

titanzero (Programmer)
12 Jul 07 4:34
Spot on - thanks!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close