These used to live alongside my main Dotfiles, but I don't use Windows enough, as a desktop, to need it in the same repo.
Some of the scripts have descriptions and some of those descriptions are listed below:
Should be thought of as a temporary tool until used to doing it by default! Reminder text from this Gist: https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716
Use this script to create a shortcut to the current folder you're in. I've found this especially useful for CMD navigation.
The main use case for this being whenever we change Git profiles. This isn't something I do as often as I used to.
The command used to manage the bare repo: cmd git --git-dir=%HOME%/.dotfiles/ --work-tree=%HOME%
... for use in the Windows CMD.
For tidying files after they've been mauled by Windows Explorer bulk renaming, e.g. "File (1).ext", ... Disclaimer, this is the first and only Ruby I've ever written
dir
isn't it my muscle memory at all.
This is a method of having a custom prompt in CMD. It's opened by AutoHotkey (see ahk/general.ahk for more information).
Add shortcuts to available drives.
I have a number of fun and useful AutoHotkey settings (requires version v2.0).
Keys | Description | File |
---|---|---|
Alt + Spacebar |
Toggles a windows "Always on top" status | general.ahk |
Volume_Up /Volume_Down |
Play a sound when volume up/down keys played | general.ahk |
Alt + q |
Kill the current window | general.ahk |
Alt + Enter |
Run my custom cmdrc.bat file |
general.ahk |
Win + Enter |
Run PowersHell | general.ahk |
Win + Alt + Enter |
Run Git Bash (how many of these do we need??) | general.ahk |
Alt + F |
Run Firefox | general.ahk |
Alt + c |
Get AutoHotkey MouseMove X Y positions to the clipboard (very useful for creating quick and dirty AHK scripts) |
general.ahk |
PrintScreen |
Snipping tool | general.ahk |
Alt + u |
Draw a line between the next two mouse clicks (U for Underline!) | general.ahk |
Alt + b |
Draw a box between the next two mouse clicks (B for Box!!) | general.ahk |
MIT.