Just be patient and wait for the command to finish running. Sometimes, it may take longer for the command to run, depending on the number of files and folders that are stored in the parent folder. You may also decide to export the directory tree to a ‘text’ format which can edited using Notepad (.txt).ĭouble check to ensure that the command on the Command Prompt is correctly written before you press Enter. We are using a Microsoft Word document file but any other text file would work just the same. Here, you can rename it as you wish, and also specify any file type, provided it is in a text format. In our case, the “output.doc” is the document file where you will have your whole directory tree saved. On the Command Prompt, key in tree /a /f > output.doc. This will let you get an orderly list of files and folders contained in the said folder. Running the ‘tree’ command is the most vital step while exporting a directory tree of a folder. There are loads of materials online which will guide you through opening a Command Prompt as an administrator. Launching a Command Prompt with administrative rights is vital when exporting a directory tree of a folder which has files and sub-folders. For instance, as you can see on the photo above that our Command Prompt is open on the F:\Meg folder. Once you are done, you will notice a Command Prompt that points to the specific folder. This will open the Command Prompt right not he folder which you are interested in. While here, key in cmd on the address bar which appears on the Windows File Explorer, then press Enter. Using the Windows Explorer, go to the folder that you need exported. Most articles online won’t give you a step by step procedure, but here, this useful information will get you to exporting your directory to a folder without even breaking a sweat, no matter what version of Windows you are using. But no matter how hard it may sound, it can easily be done. This may not be a walk in the park for many Windows users. You may, a couple of times, find yourself in a situation where you need to come up with a summarized document of all your files stored in a specific folder. Sometimes, all you want is a list of all your files and folders contained in a certain folder as a text document or an Excel spreadsheet. When working on your computer, a time comes when you need to explore an entire directory tree to a folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |