Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe does not exist
Message
De
02/03/2000 22:29:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00340698
Message ID:
00341050
Vues:
18
>>Does anyone know why this is happening?
>>
>>On a users machine, if I try and run my exe from the network (our file server which is in the same domain as the user machine) I get the message: File "whatever.exe" does not exist.
>>
>>If I copy the .exe and the two .dll files to the users hard drive and then try to run it, it works fine.
>>
>>Why can't I run the program from the network?
>>
>>Thank you for any input.
>>
>>Ryan
>
>How did you add the shortcut on your desktop? Manually or using the wizard?
>If manually, possibility of missing the proper path of the exe or folder access rights of the user.

A frequent cause of this behavior is a target path containing an embedded space pointing to the .EXE; if it is pointed to by the file's shortname (legal 8.3 version of the full path/file name, retrievable using the Win32 API or Scripting.FileSystemObject File Object) the problem often goes away. The most problematic situation is in UNCs where either the machine name or share name are the source of the problem; these cannot be abstracted to valid 8.3 names (a machine's name and its associated shares can't be shortened or legalized; an NT system with a machine name of \\NT SYS1A, with a share called "C App Dir" has a fixed UNC of "\\NT SYS1A\C App Dir" unless you change NetBIOS names for the machine and create a new share with a different name) without mapping the UNC to a local drive letter, after which a short name can be constructed.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform