$ ./install This will install a "Cygwin Prompt Here" shell extension the will act like Microsoft's "Command Prompt Here" (DosHere) Power Toy. This extension was designed to insulate you from cygwin upgrades by not modifying any of the distributed files nor making any assumptions about them except for the existence of certain tools (regtool, cygpath, cut, cat, grep, sed and, of course bash). This 'install' will adapt to the version of Windows that you are using and locate your cygwin root directory. It will modify the registry entries for Drives and Directories under HKEY_CLASSES_ROOT, add a cygwin_indir.bat file in your cygwin root directory and append a few lines to your .bashrc. The changes to your .bashrc will only be executed if you are running under cygwin (I share my .bashrc with my Unix box.) Would you like to continue? [y/n] y Unknown key prefix. Valid prefixes are: root HKCR HKEY_CLASSES_ROOT config HKCC HKEY_CURRENT_CONFIG user HKCU HKEY_CURRENT_USER machine HKLM HKEY_LOCAL_MACHINE users HKU HKEY_USERS Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-c HANDLE] [-f FILE] [options] NAME cygpath [-ADHPSW] Output type options: -d, --dos print DOS (short) form of NAME (C:\PROGRA~1\) -m, --mixed like --windows, but with regular slashes (C:/WINNT) -u, --unix (default) print Unix form of NAME (/cygdrive/c/winnt) -w, --windows print Windows form of NAME (C:\WINNT) -t, --type TYPE print TYPE form: 'dos', 'mixed', 'unix', or 'windows' Path conversion options: -a, --absolute output absolute path -l, --long-name print Windows long form of NAME (with -w, -m only) -p, --path NAME is a PATH list (i.e., '/bin:/usr/bin') -s, --short-name print DOS (short) form of NAME (with -w, -m only) System information: -A, --allusers use `All Users' instead of current user for -D, -P -D, --desktop output `Desktop' directory and exit -H, --homeroot output `Profiles' directory (home root) and exit -P, --smprograms output Start Menu `Programs' directory and exit -S, --sysdir output system directory and exit -W, --windir output `Windows' directory and exit Try `cygpath --help' for more information.grep: /usr/bin/%HOMEDRIVE%%HOMEPATH%/ bashrc: No such file or directory [: 0: unknown operand Unknown key prefix. Valid prefixes are: root HKCR HKEY_CLASSES_ROOT config HKCC HKEY_CURRENT_CONFIG user HKCU HKEY_CURRENT_USER machine HKLM HKEY_LOCAL_MACHINE users HKU HKEY_USERS The installation is completed. Sometimes after running this install Windows will give an "Access denied..." message when trying to start the shell. If this occurs, updating the timestamp on the batch file used to start the shell ('\cygwin.bat' or '\cygwin_indir.bat') usually fixes the problem. Enjoy, Glen Coakley Owner@FS-HPXP /usr/src/CygwinPromptHere $