By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,190 Members | 1,469 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,190 IT Pros & Developers. It's quick & easy.

Possible to update a file for all w2k servers via script?

P: n/a
nek
Seasons greetings,

Platform is W2K SP4, DB2 V8.1 FP2.

A few days ago I posted the question to globally 'update db cfg' for
all servers which could be done via a script thanks to Ian and PM's
responses.

I would like to do the same to a file containing plain text that
exists on ALL W2K servers which are of identical h/w configuration.

eg. d:\file_to_be_updated.txt

Is it possible, via a script, to connect to all servers and update
this file?

Many Thanks...
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ian
nek wrote:
Seasons greetings,

Platform is W2K SP4, DB2 V8.1 FP2.

A few days ago I posted the question to globally 'update db cfg' for
all servers which could be done via a script thanks to Ian and PM's
responses.

I would like to do the same to a file containing plain text that
exists on ALL W2K servers which are of identical h/w configuration.

eg. d:\file_to_be_updated.txt


If you have appropriate NT authority, you should be able to:

copy file_to_be_updated.txt \\server1\d$\file_to_be_updated.txt
copy file_to_be_updated.txt \\server2\d$\file_to_be_updated.txt
....
(Note that Windows automatically creates a hidden share for each
drive on the system named C$, D$, etc)
Good luck,


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2

P: n/a
nek
Brilliant! I was able to update the file for most servers (failed to
update a few servers due to other reasons) in one hit!

Thank you again Ian.

Ian <ia*****@mobileaudio.com> wrote in message news:<3f**********@corp.newsgroups.com>...
nek wrote:
Seasons greetings,

Platform is W2K SP4, DB2 V8.1 FP2.

A few days ago I posted the question to globally 'update db cfg' for
all servers which could be done via a script thanks to Ian and PM's
responses.

I would like to do the same to a file containing plain text that
exists on ALL W2K servers which are of identical h/w configuration.

eg. d:\file_to_be_updated.txt


If you have appropriate NT authority, you should be able to:

copy file_to_be_updated.txt \\server1\d$\file_to_be_updated.txt
copy file_to_be_updated.txt \\server2\d$\file_to_be_updated.txt
...
(Note that Windows automatically creates a hidden share for each
drive on the system named C$, D$, etc)
Good luck,


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.