Dear All,
I know how to display contents of any directory. But what if I need to print the directory, subdirectory and its contents?
The output should be:
Folder
Subfolder
- File1
- FIle2
Subfolder2
- File1
- File2
Please help me on this.
Thanks
Deepak
I know how to display contents of any directory. But what if I need to print the directory, subdirectory and its contents?
The output should be:
Folder
Subfolder
- File1
- FIle2
Subfolder2
- File1
- File2
Please help me on this.
Thanks
Deepak
Comment