Data disc--Printing directory?

Status
Not open for further replies.

nithinks

True Techie
Digit forum members;

I Want to create a list of all directories and subfolders in a Data disc
So that i can print a label for my mp3s which contains all songs as well as
their film names.
format;
MAIN FOLDER NAME(Name of yhe film)
|
|
|
-----------sub folder 1(Song 1)
|
|
-----------sub folder 2(Song 2)
|
|
MAIN FOLDER NAME(Name of the film 2)
................................and so on.
Is there any such software(preferabelly freeware/demo) available to
Download?

Thank you in advance
 

aadipa

Padawan
This command line tool will be perfect
Code:
tree /F

This will print the tree of all directories and files in current drive to the screen. As you want it to be printed, just redirect it to some file and then you can print that file. This also allows you to edit the output manually, which you will need to do.

Code:
tree /F > result.txt

Now with this command just open result.txt created
in current directory.

If you don't know where to find the file, just give following command just after above tree command
Code:
edit result.txt

Now you can print the file, or edit it to add more appropriate header.

If you open the file in notepad, you will get strange looking charactors as those are ascii charactors which Windows based program and DOS based programs shows differently. Just replace required chars to | and - and you have file ready to print.

If you have printer configured to print from DOS, you can directly pass this output to printer using
Code:
tree /F >PRN

Well there are also many softwares available for this job, a Google search will do that job. :)
 
Status
Not open for further replies.
Top Bottom