473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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
2 1451
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: leegold2 | last post by:
In MYSQL is it possible to shift and splice colums? say I have a table w/fields: name | tele_num | age and I get all the addresses later - address initally stored in a txt type file with 1 rec...
2
by: Santosh | last post by:
Hi, I have a script running which fails when it tries to execute an Update query, but when i try to run the query from the SQLQueryAnalyzer it runs fine. Can somebody try and explain this...
26
by: Don | last post by:
I'm writing an html page with some JavaScript that reads a web page into a client-side temp file, then reformats it, then submits that same file as a URL to the browser for display, via...
5
by: Ken Cox [Microsoft MVP] | last post by:
MS has posted this here: http://www.asp.net/faq/ms03-32-issue.aspx Fix for: 'Server Application Unavailable' Error after Applying Security Update for IE...
3
by: RSH | last post by:
Hi, I have a situation in where i have two instances of SQL server, the first is our Production Environment, the second is our Development environment. Both servers contain the same databases...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
5
by: sat | last post by:
Hi, I'm working as a DB2 UDB DBA. I have some questions regarding SCP command... Actually every week redirect restore takes place from one of my production servers to test servers.. So, but...
1
by: SysProg | last post by:
I need some help with a problem I've encountered. I am a zLinux, WAS, and DB2 noob so please bear with me. I am helping to support two WebSphere applications which utilize DB2 under zLinux. One...
0
NeoPa
by: NeoPa | last post by:
Introduction : I have come across a problem, on a number of occasions, where PCs under my control fail to load new updates successfully. This is true whether they are attempting to apply via the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.