Skip to content

Instantly share code, notes, and snippets.

@mike-ward
Last active April 12, 2018 13:25
Show Gist options
  • Save mike-ward/83321aeb338b805a319403bcd105dfe3 to your computer and use it in GitHub Desktop.
Save mike-ward/83321aeb338b805a319403bcd105dfe3 to your computer and use it in GitHub Desktop.
Quick batch file to save notes to myself
@echo off
set notes=c:\users\mike\documents\google\notes.txt
if %1@==@ (
if exist %notes% sort /R %notes% | more
goto :eof
)
echo %date% %time:~0,5%, %*>>%notes%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment