Batch redirect output

To save any command output from the command prompt, you have to use the redirect operator (single angle bracket) “>” and the command using the following syntax: Command > Filename Suppose we want to find out the directory list of any drive of your computer and save the output into a text file name directorylist.txt on D: drive. ................
................