# Jump-Location: autojump for Windows

DevFeed: [Jump-Location: autojump for Windows](<https://devfeed.tech/articles/jump-location-autojump-for-windows-33399.md>)

Original publisher: [Read original article](<https://timkellogg.me/blog/2012/08/21/introducing-Jump-Location>)

Published: 2012-08-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tim Kellogg](<https://devfeed.tech/sources/tim-kellogg.md>)

Topics: [PowerShell](<https://devfeed.tech/topics/powershell.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [file](<https://devfeed.tech/tags/file.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [windows](<https://devfeed.tech/tags/windows.md>), [zip](<https://devfeed.tech/tags/zip.md>)

## AI overview

The article introduces Jump-Location, a PowerShell implementation of autojump for Windows. It indexes frequently used directories and provides commands and aliases for searching, changing locations, opening Explorer results, and using results with other commands. It also describes PowerShell-specific enhancements for viewing and editing directory weights.

## Source excerpt

A while ago I discovered autojump and quickly realized that it could change how I use a console. Autojump listens when you change directories and keeps an index of the directories where you spend the most time. The j command lets you search the index and cd to the most relevant search result. It's best if you just watch this video: Introducing Autojump for Windows (via Powershell) Jump-Location is a Powershell implementation of autojump that I've been working on. It does most everything that autojump does, but better. For instance, after using the j Powershell cmdlet for a while, I quickly realized that I wanted to use it for more than a cd command. I like using pushd and popd, so I made a pushj alias that uses pushd (Push-Location) instead of cd (Set-Location). I also realized that as a Windows user, you inevitably have to use Windows Explorer for things like TortoiseSVN checkins. But mousing through the folder tree is a pain, so I made the xj alias to query Jump-Location and open up explorer to the result. You can now use Jump-Location in conjunction with any command. I can use the getj alias to open a file in notepad: PS> notepad "$(getj ju)\Readme.md" Enhancements to jumpstat Autojump provides a jumpstat command to display the index (and debug why you didn't get the directory you expected). Jump-Location also provides this command (as the Get-JumpStatus cmdlet alias). Since Powershell deals in actual objects instead of text, the design of jumpstat is a lot different from the original. This really comes out when changing the weights in the index. The documentation for the original instructs you to edit ~/autojump.txt. While we still store the index in a text file, you can just set the weight and save from within Powershell. For instance, setting a weight to a negative number will remove it from search results: PS> $record = jumpstat je bin PS> $record.weight = -1 PS> jumpstat -Save Go Try It! I highly recommend installing Jump-Location. Head on over to the downlo