

                   documentation cd-short 2.0


Win95/NT Freeware                                        Feb-1999 

Martin Vieregg, Hubertusstr. 26  D-85521 Ottobrunn, Germany
E-Mail: 100661.626@COMPUSERVE.COM
Homepage: http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM

files:
c.bat, cc.bat, o.bat          batch files, executed by the user
c_subprg.exe                  exe file, used by c.bat and cc.bat 
c_englsh.doc                  this documentation
c_german.doc                  documentation in german language

cd-short is a shortcut-substitute for the "cd" (change directory)
command in the Win95/98 and NT commandline window ("DOS prompt").

It is sufficient to specify a substring for each path element you want 
to change into; the path separator is a space instead of a backslash 
because it is easier to type. A directory search through several drives
is also possible.

For example, to change into
e:\abcdefghijkl\mnopqrstuvw\xyz123456789

the normal input is:
e:
cd \abcdefghijkl\mnopqrstuvw\xyz123456789

With cd-short, it is adequate to enter:
c abc mn 456

To open the selected folder on the desktop, enter ("open")

o abc mn 456

INSTALLATION

copy all files into one of the directories in your PATH (as
displayed by the PATH command), preferably into one of the first paths
listed for quick access. Or insert the new cd-short directory in the
path list of your autoexec.bat file (changes will be active after
reboot.)

Edit the c.bat if you want to search through several drives.
Insert for example the drive letters C: D: E:

c_subprg C: D: E: %1 %2 %3 %4 %5 %6 %7 %8 %9 >c:\c_temp.bat

You can change the order of the drive letters. If you do not insert
drive letters, cd-short will only search in the current drive. 

c.bat and cc.bat are producing a file c:\c_temp.bat. If you don't like
that file in your root directory, you can update the two files by
yourself by changing all occurrences (2 times in c.bat, 4 times in
cc.bat) of "c:\c_temp.bat" to another name.

Please do the same modifications with o.bat.


NOTE

- In principle, you can use directory name substrings with only one
  character, but of course there is the fear to get into a wrong path.
- You can use the # character if you don't remember a directory name:
  c # # xyz
  will search a directory with the occurrence "xyz" in the third 
  directory level. A very inconrete input on large disks can take some
  seconds.
  (Sorry, choosing the wildcard * was not possible.)
- C is normally beginning to search in the root and not in the current
  directory. To begin the search in the current directory, you have to 
  prefix the first argument with a period:
  c .subdir subsubdir
  With the period, C is only searching in the current drive.
- C must not be used with backslash or slash (use the space character
  instead)!
- the example "456" shows that the given part of the directory name
  need not be at the beginning of the directory name.
- if you entered "456" and there are two dir names in the directory
  including "456", the dir name with the leftmost occurrence of "456"
  will be chosen: for example
  "abcdef456" and "abc456def", "abc456def" will be chosen.
- if the position of the substring is identical like "abc456de" and
  "abc456defghi", the shorter directory name is choosen.
- C is not case-sensitive.

Now you can use longer directory names more comfortably at the command
prompt.


CC.BAT: Searching through several directory levels

C.BAT together with the * parameter lets you search a dirname only in
a specified directory level. To search through 4 dir levels for a
specific directory name, you would enter:

C dirname
C # dirname
C # # dirname
C # # # dirname

CC does this job. With CC it's adequate to enter
CC dirname


Known bugs in cd-short 1.5:
- it failed when going into some Windows specific folders.

------------------------------------------------

cd-short is also available for OS/2.


I've written a handful Win95/NT and OS/2 programs. Visit my homepage:

http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM

Both Win95/NT and OS/2

HMAKEW95 HyperMake WINHELP, HTML and IBM IPF builder. Your input is a
         more simple and intelligent ASCII format. Automatic linking,
         window arrangement, helptables, footnotes, line drawing and
         other features. Shareware if source file > 20 kB.
PMCALC3W PmCalc, a calculator with automatic clipboard function,
         scientific functions, calculating with variables, regression,
         programmers functionality (overflow simulation of integer
         variables). Shareware.
TINYALRM TinyAlarm, a simple countdown with a slider from 1 to 
         60, an alarm by entering alarm time and a chime. Freeware.
ZIPSHELL Simple Zipshell, a handful tiny batchfiles for handling
         ZIP-files with the WPS; Info-Zip packers included

(planned for Win95/NT)
CLEARW95 Backup and clean up. Creating file lists of files to be
         saved and deleted. Detailed exclude criterions.
         Works together with InfoZip. Very useful for backup with floppy.
         Freeware.