Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to distribute a new executable on a LAN
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00497680
Message ID:
00498081
Vues:
19
>>Hi,
>>
>>I develop apps specifically for our company rather than a bunch of different clients. Frequently, I make changes to the code that does not impact the data structures. I've been using a batch file to copy the latest .exe from the server to the local drive and then execute it, thus ensuring that everyone gets the latest .exe on startup.
>>
>>But this leaves an ugly black DOS box running (and an additional program on the task bar) that I'd like to eliminate.
>>
>>I'd like to know how you all accomplish this type of update.
>>
>>TIA
>
>Larry,
>
>I use the Windows Script Host (WSH) and VBScript as a loader program. It's like a batch file on steriods, but it's Windows. What it does is compare the date/time of the local file with that of the same file on the server. If the one on the server is more recent, it's copied locally. The script then runs the local file. I'd be happy to post a sample of such a script if you'd like.

Considering I've never used WSH, an example would be a tremendous help. :)

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform