ttrbrtsn
asked on
how to print and extire folder structure
how to print and extire folder structure and sub folders and files
i tried dir > print.txt. in DOS but only gave me the root i was in. i need ALL the subfolders as well
i tried dir > print.txt. in DOS but only gave me the root i was in. i need ALL the subfolders as well
try dir> list.txt
simply run the TREE command.
Try the tree command in place of dir
ASKER
"tree > print.txt" seemed to work HOWEVER, it only lists the folder structure, not the files within them.
thanks
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> dir /s >list.txt
IMPO no idea why this command could be the answer as it only lists all files and folders under given path (the current folder by default). it does not show the required folder structure directly. TREE does it, visually.
IMPO no idea why this command could be the answer as it only lists all files and folders under given path (the current folder by default). it does not show the required folder structure directly. TREE does it, visually.