Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to distribute a new executable on a LAN
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00497680
Message ID:
00498081
Views:
18
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform