>Discovered quite mysterious situation in VFP7( don't remember in VFP6 ). When .exe is run from Wise InstallerMaster 8.14 doing some post install tasks then certain functions returning current directory or including it such as
>
>sys(5)+curdir()
>or
>sys(16)
>
>return sort of Dos path c:\outbou~3 instead of c:\outbound123
>When the same .exe is run from Windows Explorer the directory returned is okay.
>Any clues what's going on and how to overcome it? OS is windows 4 /Windows 2000
SWAG - the installer shell is a 16-bit product, and is converting LFNs to compliant short names to protect itself. Running under a 32-bit VDM started from a 32-bit processn (eg from Explorer, or a shortcut created with something that is LFN-aware) doesn't convert the names to compliant short names prior to invoking the executable.