Skip to main content
15 events
when toggle format what by license comment
Mar 1, 2017 at 18:32 comment added Riker @Divcy I saw that you approved the edit, please don't do that in the future (even though it's your post). If you look, DJ rejected it also.
Mar 1, 2017 at 18:31 comment added Riker @CPoll for later reference: Please don't make edits that add new code. Feel free to comment, but don't make edits.
S Feb 28, 2017 at 22:00 history suggested CPoll CC BY-SA 3.0
added a similar solution with a condition
Feb 28, 2017 at 21:52 review Suggested edits
S Feb 28, 2017 at 22:00
Feb 27, 2017 at 0:20 comment added Riker @Divcy feel free to post it as a separate answer!
Feb 27, 2017 at 0:13 history edited Divcy CC BY-SA 3.0
deleted 122 characters in body
Feb 27, 2017 at 0:09 comment added Riker Try to post 1 language per answer, so you should probably delete either the batch or powershell code.
Feb 27, 2017 at 0:01 history edited Divcy CC BY-SA 3.0
added 240 characters in body
Feb 26, 2017 at 23:33 comment added Matthew Steeples You can knock another character off this. h is an alias (by default) for get-history, so you can do h|clip
Feb 26, 2017 at 23:32 comment added Divcy The reason why sc and cd output is passed to the clipboard but fc won't is because sc and cd write its output to stdout but fc write its output to stderr (clip pick up an input from stdout but fc does not write anything to stdout)
Feb 26, 2017 at 22:42 comment added Divcy @djsmiley2k Yes, it will pick up only the output from a valid command.
Feb 26, 2017 at 22:27 comment added djsmiley2kStaysInside I guessing clip won't pick up the output of a non-command? So you couldn't just run x|clip?
Feb 26, 2017 at 21:55 comment added Hand-E-Food My one used cd. :-)
Feb 26, 2017 at 21:54 comment added Neil You could use sc instead of fc to avoid the error message. Then, the sc help text would be set on the clipboard. Also, +1 for telling me about clip.
Feb 26, 2017 at 19:59 history answered Divcy CC BY-SA 3.0