Use AutoHotkey to get path from Explorer & replace w/UNC path for sharing

path from explorer

Use AutoHotkey to get Path from explorer and share full path with others

Working on multiple computers, in multiple environments, and with teams of people can be a challenge when wanting to share files.

I have quite a few network folders that I’ve “mapped” so they look like drives.  This always causes issues when copying the path and sharing with others.   I also have a “b:” drive that I’ve created which, in reality, is a shortcut to the root of where my DropBox folder is located.

Registry settingsThe 1st thing I’m going to recommend is that you backup your registry!!!     After doing so, navigate to this key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices



Then right click on the right and create a new String.  This is where you’ll put in the letter of the drive you want (for instance I put in B: ).  After you’ve done that, right click on the B: and  add the path to the folder you want mapped.  Here’s an example  “\??\C:\\Dropbox\test\”  Please note the second \ after the c:\   It is not a typo!   For some weird reason you need two there however everywhere else after you just need one!

The next time you boot up you’ll have the new drive (this isn’t creating any sort of copies of files, it is merely giving you a convenient shortcut to a folder)   Here’s a screenshot of my settings.

Mapping network drives are easy and you can follow this guide here.

Okay, now that we’re done setting up our computer, let’s get to the AutoHotkey script

Copy Path from explorer and replace with UNC (for sharing and to get around security issues)

Here’s a video demonstrating getting the Path from explorer

Copying Path from Explorer & Fake drives




Keyboard shortcuts for launching programs- Start any program with 1 click

keyboard shortcuts

Keyboard shortcuts

Keyboard shortcuts can be a great time saver (especially for specific programs, folders, actions) that you do dozens of times a day.


Over a decade ago I put the below file together documenting the most frequently used Windows / Office shortcuts

keyboard shortcuts

MS word file great keyboard shortcuts


Now-a-days AutoHotKey to create my own shortcuts (of which I have over 100 which do various activities by a simple click of the key/button.)  AutoHotKey has a function for this called Hotkeys which are a great way to launch programs / scripts /folders that you use frequently.

This video walks through how easy it is to set up hotkeys to launch programs, scripts, etc.

Hotkeys with AutoHotKey


Click window to toggle programs across monitors with AutoHotkey

toggle programs across monitorsToggle programs across monitors with AutoHotkey

Do you work with multiple monitors?  I have an awesome AutoHotkey script which allows me to simply hold down Alt and mouse-click on a program and it will “throw” it to the other monitor!.


Toggle programs across monitors with AutoHotkey

Toggling programs across multiple displays

Here is the AutoHotkey Script to toggle programs across monitors

Being able to toggle programs across monitors is an amazing thing!

Built-in SciTE Keyboard Shortcuts & Hotkeys: Accelerate your SciTE Usage

SciTE Keyboard Shortcuts & Hotkeys

SciTE Keyboard Shortcuts & Hotkeys

SciTE is a wonderful & powerful editor!  I love using it for AutoHotKey, Python, HTML, SPSS, SQL, XML, and more!  Below are SciTE Keyboard Shortcuts & Hotkeys  to use with SciTE .  I’ve bolded a few of the ones that I use very frequently.  You also may like to check out the documentation.   I have custom SciTE Hotkeys that I’ve added however they require updating files like the file which review in a this post.

SciTE Keyboard Shortcuts & Hotkeys

Ctrl+Keypad+Magnify text size.
Ctrl+Keypad-Reduce text size.
Ctrl+Keypad/Restore text size to normal.
Ctrl+TabCycle through recent files.
TabIndent block.
Shift+TabDedent block.
Ctrl+BackSpaceDelete to start of word.
Ctrl+DeleteDelete to end of word.
Ctrl+Shift+BackSpaceDelete to start of line.
Ctrl+Shift+DeleteDelete to end of line.
Ctrl+HomeGo to start of document.
Ctrl+Shift+HomeExtend selection to start of document.
Alt+HomeGo to start of display line.
Ctrl+EndGo to end of document.
Ctrl+Shift+EndExtend selection to end of document.
Alt+EndGo to end of display line.
Ctrl+Keypad*Expand or contract a fold point.
Alt+F2Select to next bookmark.
Alt+Shift+F2Select to previous bookmark.
Ctrl+F3Find selection.
Ctrl+Shift+F3Find selection backwards.
Ctrl+UpScroll up.
Ctrl+DownScroll down.
Ctrl+LLine cut.
Ctrl+Shift+TLine copy.
Ctrl+Shift+LLine delete.
Ctrl+TLine transpose with previous.
Ctrl+DSelection duplicate.   (Great to use in SciTE editor)
Ctrl+KFind matching preprocessor conditional, skipping nested ones.
Ctrl+Shift+KSelect to matching preprocessor conditional.
Ctrl+JFind matching preprocessor conditional backwards, skipping nested ones.
Ctrl+QComment out line  (Great to use in SciTE editor)
Ctrl+Shift+JSelect to matching preprocessor conditional backwards.
Ctrl+[Previous paragraph. Shift extends selection.
Ctrl+]Next paragraph. Shift extends selection.
Ctrl+LeftPrevious word. Shift extends selection.
Ctrl+RightNext word. Shift extends selection.
Ctrl+/Previous word part. Shift extends selection
Ctrl+\Next word part. Shift extends selection.
Alt+Shift+MovementRectangular block selection.
Alt+Shift+HomeExtend rectangular selection to start of line.
Alt+Shift+EndExtend rectangular selection to end of line.


SciTE Keyboard Shortcuts & Hotkeys