Information générale
Catégorie:
Installation et configuration
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement