Skip to content

Instantly share code, notes, and snippets.

@wenming
Created May 4, 2012 19:21
Show Gist options
  • Select an option

  • Save wenming/2597132 to your computer and use it in GitHub Desktop.

Select an option

Save wenming/2597132 to your computer and use it in GitHub Desktop.
Swap notepad with curl.
PS C:\Users\wenmingy> while (1)
{ $filename = get-date -format 'yy-MM-dd-H-m-s'; $filename=$filename + ".log"; echo $filename; start-process -wait notepad $filename}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment