As I sit here using Everything Search command line to find the folder I'm looking for, and then copying and pasting the folder into a CD command, I thought "Wow! What if Everything Search (the "ES"command") could accept ES /D jimsfolder and PUSHD me there"?

I think I might even try to craft a batch file to do something like that, but I couldn't help but share that idea because I've always had a dream of writing such a beast to replace NCD, and always got stuck with how to cache the folder structure of a terabyte hard drive just to change folders.

Thanks for - bar none - the single best utility for Windows ever made!

Jim

(P.S. I read through a bunch of topics but confess I didn't search the entire forum for a possible duplicate)

I do have a couple of other versions of it. One that uses a QCD filter in Everything to remove a lot of (for QCD) unnecessary folder from the results and a PowerShell version. And probably a few others too.

If you have any suggestions for it, please let me know! Chances are that they will be implemented ..

EDIT: Took a quick look at the code. It is very noticeable that those were my rookie-days of using Everything.
With today's knowledge (still a rookie), I already see (a lot of!) room for improvement. Update will follow (might take a couple of days).

Offtopic:
I LOVE(d) Norton Utilities. That got me into computers. It was the first program I ever hacked (removing licence) ... using Norton Utilities itself

Last edited by NotNull on Thu Jun 27, 2019 7:22 pm, edited 1 time in total.

Wselect offers a window with a list of items for selection in a batch (BAT/CMD) process. The items are read (line by line) from the given file, which can be either fixed, or generated in the batch process. The file may have any number of lines with anything you want to offer. Special options are provided for menus.

Use ES to find your folders sending its' output to a file.
Open that file with Wselect allowing you to choose the particular directory you want ...

As you might have noticed from the preview-screenshot that SD (*) has now some extra functions:

Functions

Everything folder-search function.

Using EVerything /ES to find a partial foldername to go to. When more than one folder match that pattern, a selection dialog will be shown. Select the folder you wanted (or press ESCAPE) and SD will go to that folder.
Whenever you select a folder that way, it will get a 'like'. The folders with the most 'likes' are shown first in the selection dialog, so the next time that folder will be further up in the list; making it easier to select.

SpeedDial function.

When there are certain folders you use very frequently, you can define those as a SpeedDial number.
For example: you go often to "C:\Program Files\Everything". Then make that number 1.SD 1 will bring you directly to that folder.

Beside numbers, you can also use aliases: if you defined SD_pics=D:\data\photos, SD pics will bring you directly to D:\data\photos.

You can define the SpeedDial entries in the SETTINGS section of the script SpeedDial.ini.
A couple of examples are included to get you going.

SD 0 will show you the currently defined speeddials

Directory up function.

With CMD's CD command you can go one directory up with the command CD ... If you want to go 2 levels up, you have to run that command twice.
SD can do that in one step: SD ... will go 2 level up; SD .... 3 levels, etcetera

"Back button" function

Just like your browser, SD has a back function. Actually: CMD has, but SD is using it.
You can go to the previous folder with the command SD -
For multiple folders back, add extra ---: SD --- will go 3 folders back.

If you don't want this function, you can change it with set COMMAND=CD /D in the SETTINGS section SpeedDial.ini.

Installation

Download the zipfile and unzip the script and SpeedDial.ini in one of the folders in your CMD path
( echo %PATH% to find out which folders are suitable)

Download WSelect from here, unzip it and copy WSelect.exe to the same folder where SD.cmd is (you don't need the other files).
I tested with the 64-bit version, but the 32-bit version should be OK too

Open SpeedDial.ini in your favourite text-editor and change the settings to match your situation.
At a minimum, change set ES=C:\TOOLS\EVERYTHING\ES.EXE to the correct location

Start CMD

Type

SD

+ ENTER for a help screen.

(*) I renamed QCD to SD as that is quicker to type and I use the SpeedDial function the most.
... and to prevent having a bunch of lawyers from the original QCD chasing me ....
But you can rename it to anything you like. Name it GO.cmd, TO.cmd .. doesn't matter. The help will adapt accordingly.

Latest version: 1.3:

You do not have the required permissions to view the files attached to this post.

Last edited by NotNull on Tue Aug 06, 2019 11:32 am, edited 8 times in total.

Some time ago (August 2019) I started looking at this...
I have more looking to do, but my time is limited.
So it's time to "dump" it in it's current state. Till I get some more time to tinker with it...

I'm getting confused, so babble... (oh, & quite the babble it is, because I'm not even recalling currently just what I was babbling about)

Anyhow... XP, so that may play in, & spaces in filenames/search, like "my documents", as in not returning expected results...

The wfn: was added because during testing there were some cases where the whole path was searched; not just the foldername. Can't remember how/when/what.

... but now I do:
If you search for "\prog" to find all folders starting with prog (like "c:\program files"), it would also find all subfolders of that folder. (but searching for prog\ to find all folders ending with prog fails)

I'll try to come up with a better solution.

BTW: Is it useful to post new updates? Is anyone using this (besides myself)?