Clip to get results of Windows command


I have been familiar for a long time of the function in a windows command of the greater than sign. It directs the results of a command to a text file. So for example with the common command to list the contents of a directory (see the very first Tip of the Night) the command 'dir' followed by the operator '/b' (to restrict the generated list to just the file names in root folder in which the command is entered) is followed by >list.txt to direct the list to the named text file. However you can save yourself some trouble by instead just directing the list to your clipboard. Enter the command with a pipe then 'clip' at the end.

Now you will get a list of the files in the c:\helloworld directory on your clipboard that you can paste anywhere.


Contact Me With Your Litigation Support Questions:

seankevinoshea@hotmail.com

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with Wix.com