Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP generated EXE with space in UNC path
Message
From
07/08/2000 12:57:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00375180
Message ID:
00401846
Views:
25
>>The story continues... I got the share renamed from "D drive" to "D_drive" but it still wouldn't work as long as I had spaces in the path (which it was willingly allowing on a local drive). So it seems to be spaces in an UNC path are a mortal sin (your exe does die, doesn't it?) and they're still OK if you have a drive mapping or a local drive (tried and both work, including spaces in path and in the name of the executable).
>
>You can always retrieve the file's ShortName using the Scripting.FileSystemObject or API and use that in the ShortCut.

Not that easy. The executable actually launches to a point where it gets the runtime to load, and then you see the runtime's window showing up, and then when it's about to execute some of your code, it says "File not found". So, from what I figure, the exe's loader locates the runtime, but then can't locate itself anymore.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform