The program I am attempting to make is a Directory Listing program. The program should give me the contents of the directory {just the name of the files in the directory}
Eg : If the user enters a directory say "C:\test" {in Windows}, and if the folder "test" has files called "abc.txt", "def.html" etc and a folder called "subtest", then when I run my program, the output should be
The directory : C:\test has the following: subtest abc.txt def.html
Can you please guide me as to how I should go about making such a program.


Sign In
Create Account


Back to top









