Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange results from curdir() sys(16)
Message
De
13/04/2002 13:49:10
 
 
À
13/04/2002 09:27:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00644668
Message ID:
00644715
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform