Scripts to help workflow now on google code.

Mon 25 January 2010
By stu

I've uploaded my scripts to help workflow to google code, naming the project batch flow.

Heres a summary of some of the things you can do.

Clipboard integration

Go to a directory in the clipboard.

If you have the address bar enabled in explorer:

Copy the location, go to the prompt and enter 'pcd' to go to that folder

Go to the location of a setting in netbeans or eclipse:

Copy the location , go to the prompt and enter 'pcd' to go to the folder (or folder containing the file).

Get the current directory without dragging:

Enter 'ccd'

Directory bookmarks

dirsave and dirload let you save named bookmarks.

Using hotkeys

If you use the alternate shell 4nt (or the free TCC/LE) you can use the supplied configuration and aliases to access the bookmark functionality from the keyboard:

In the 4nt or tcc/le prompt enter "option", under the "TCStart/TCExit" path, change the location to the location where batch-flow is installed + "\conf", for instance on my computer batch-flow is installed to c:\usr\batch-flow, so I set it to

c:\usr\batch-flow\conf

Now in new TCC/LE prompts F5-F10 are reserved for directories: Ctrl+Fkey to save, and Alt+Fkey to load.  Alt-F12 lists these shortcuts.

Note:  Alt-F12 only lists shortcuts on FKeys, to list these and other shortcuts enter dirload /l

batch-flow comes with other handy hotkeys, use 'alias' in TCC/LE to see what they are.

Path manipulation

addpath

It's annoying after installing a program to have to add it to the path, so there is an 'addpath' command to do this.

regpath

This is a more general utility for viewing the registry path, you can list it, validate it, check for the location of files within it.

Also useful is 'regpath /L' which sets the local prompts path to the one in the registry.

Further help

Most of the commands have help builtin, which you can access by using the /? option.