From e355de817c95c1b5b3fa98c0e5e2863a1ecb7679 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 15 May 2002 11:36:00 +0000 Subject: * cygpath.cc (get_short_paths): Fix more error checking. (get_short_name): Ditto. * cygpath.cc (main): Add option H to show the Windows' profiles directory. Support short names for options DPSW. Clean up copied code lines. * utils.sgml: Update cygpath section for H option and s support. --- winsup/utils/utils.sgml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'winsup/utils/utils.sgml') diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index 3c59d2741..cbda63184 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -82,6 +82,7 @@ Usage: cygpath.exe [-p|--path] (-u|--unix)|(-w|--windows [-s|--short-name]) file -v|--version output version information and exit -w|--windows print Windows form of filename -A|--allusers use `All Users' instead of current user for -D, -P + -H|--homeroot output `Profiles' directory (home root) and exit\n\ -D|--desktop output `Desktop' directory and exit -P|--smprograms output Start Menu `Programs' directory and exit -S|--sysdir output system directory and exit @@ -127,15 +128,18 @@ done The capital options --D, -P, -S, and --W output directories used by Windows that are not the -same on all systems, for example -S might output -C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM. The -A option -forces use of the "All Users" directories instead of the current user -for the -D and -P options. +-D, -H, -P, +-S, and -W output directories used +by Windows that are not the same on all systems, for example +-S might output C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM. +The -A option forces use of the "All Users" directories +instead of the current user for the -D and +-P options. The -H shows the Windows' +profiles directory that can be used as root of home. On Win9x systems with only a single user, -A has no effect; -D and -AD would have the same output. +The -ws options can be combined with the capital options. -- cgit v1.2.3