PDA

View Full Version : Short filename broken?



NewsArchive
11-27-2007, 03:19 AM
Has anybody successfully used the short filename conversion function of
Set Variable? It appears broken to me (build 2040). With a variable
containing a path like this:
X:\some name
It returns this:
X:\some name

I was expecting something like this:
X:\SOMENA~1

(Necessary for redirection files because at least some versions of
Clarion will not redirect to a path with embedded spaces.)

--
Phil Carroll
http://www.enablingsimplicity.com

NewsArchive
11-27-2007, 03:20 AM
Never mind - the answer was obvious.

The path has to exist first on the target machine. I was testing a
script, and the path did not exist because the script did not create the
path in test mode.

--
Phil Carroll
http://www.enablingsimplicity.com