Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange results from curdir() sys(16)
Message
From
13/04/2002 13:49:10
 
 
To
13/04/2002 09:27:00
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00644668
Message ID:
00644715
Views:
12
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform