Once you install it, you have to first choose the directory that you want to print out. However, unless you really need to print out directory listings on a daily basis, the free version will be more than enough for just about anybody. To unlock everything, you’ll have to pay $20. That’s because the free version doesn’t include all the options that are included in the Pro version. When you download it, you’ll notice that some of the features are disabled. One of the best utilities for printing directory listings is Directory List & Print. Third-Party Freeware Directory List & Print You can then import the data into Excel and choose tab-delimited so that the data will be separated into individual columns rather than being bunched into one. Using the extra parameters, you can also show file attributes (hidden, compressed, etc), show file ownership and more. The dir command has a bunch of other command line parameters which I won’t mention here, but you can check out a full list of them on Microsoft’s website. Here is the output of dir /s >filename.txt below. Note that you can also get rid of /b if you want the full directory and subdirectory listing with the extra data on size, etc. If you want to get a listing of all files and folders including subdirectories of the current directory, then you would use this command: In the above examples, you’ll notice there is a folder called Word Stuff, but the output doesn’t list any of the files inside that directory. If you want different information, you can add parameters to the command.įor example, if you don’t want all that extra information, you can print just the names of the files and folders using the following command: The file will be created in the current folder and if you open it using Notepad, it’ll look like this:īy default, the command will give you the last modified date/time, the size of the files, the list of directories and the actual file names. The dir command generates a list of files and folders in the current directory and the right angle bracket says that the output should be sent to a file rather than onto the screen. Go ahead and select Open command window here from the menu.Īt the command prompt, you have to type a very simple command: If you want to print out the file and folder listing for C:\Test\MyTestFolder, then navigate to C:\Test, press the SHIFT key and then right-click on the MyTestFolder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |