Ever tried to copy/paste some tids and bits in a jiffy ?
I mean, if you don't have any post-it
like app installed.
This goes like :
- reach you desktop or start windows explorer
- right-clik -> new doc texte, clik
- type the doc name, clik
- double clik on it so you can start copy or type your snippet
That's what i always said to myself but didn't want to install one more fancy n-megabit app just for a few characters i may need may be once in a while.
Last night i was playing with batch command.
Although, i'm far from being a dos command jedi, it was quite esay to type 2 lines, in order to obtain what i want.
Meaning :
- create a new text file in the right folder, with the name i want
- and open it in notepad.
Remember : i want some extra fast super easy way to type anything. So notepad is the best.
By the way, open it and copy/paste this :
@echo off
cd /d "c:\your\folder\path"
set /p title=type your title without space ?
echo creating %title%.txt ...
echo.
REM don't forget to create a foo.txt ...
copy foo.txt %title%.txt
echo.
echo starting notepad
start %SystemRoot%\system32\notepad.exe c:\your\folder\path\%title%.txt
Save it as _notes.bat for example. That's it.
Now, you can make it 2 different ways. The strait forward and the clever.
- the first :
- Make 2 shortcuts of your notes folder and your _notes.bat file
- slap them on your destop
- the latter :
- declutter your desktop of all these ugly icones
- get this super-small, abandonned tiny exe RUNit
- Drag your folder and your .bat into RUNit and enjoy your wallpaper !
