R
Rich Pasco
I have an old DOS program which needs the short 8.3 version of a path
named in an environment variable. Is there an easy way to get it?
For example: if %HOMEPATH% is "\Documents and Settings\pasco"
then what yields "\DOCUME~1\PASCO" ?
I know I could write a script to parse the output of "DIR /X" but
I was hoping for an easier way....
- Rich
named in an environment variable. Is there an easy way to get it?
For example: if %HOMEPATH% is "\Documents and Settings\pasco"
then what yields "\DOCUME~1\PASCO" ?
I know I could write a script to parse the output of "DIR /X" but
I was hoping for an easier way....
- Rich