Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a link file
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00467377
Message ID:
00467466
Vues:
12
>>I have some '.lnk' files I want to run programaticaly synchronosly. I have tried to use my shellwait code (same as in files section) however, the lnk is not really an executable. Ideas that will allow me to do it?
>
>Try something like this:
>
Shell "cmd /c D:\EMoreau\ddm.lnk", vbNormalFocus
Speculate(This does not seem to like long filenames.) I recieve a file not found msg and the file is indeed there. And a debug time eval shows all backslashes and full path, file and extention. Maybe there is a way to get the links info out and actually run the program instead of the link... Just some thoughts. Any ideas?
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform