473,326 Members | 2,805 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,326 software developers and data experts.

copying file script

173 100+
Hi All,

i would like to copy a folder from one of my servers to all users machines on the network, preferably C drive. I need a VBScript, can someone please help me?


thanks
Jul 24 '09 #1
5 1381
gits
5,390 Expert Mod 4TB
probably you should ask that question in the appropriate forum? and you should even tell a bit more about the requirements ... should it just be a plain copy or should it be copied when an application is opened in a webrowser or whatever?

kind regards
Jul 24 '09 #2
Beany
173 100+
sorry, didnt know where to post exactly.

It's just a plain copy. from server to PCs (harddrive)
Jul 24 '09 #3
gits
5,390 Expert Mod 4TB
what kind of network are you talking about? an intranet? or a public network? do you have access to all machines in question? i think for such a task you don't need any script (except for a loop through the list of machines of course) ... it's just a plain admin task to copy something to a remote-machine ... what you might use for that depends on the infrastructure like the mentioned filesystem-access etc. ... in a linux environment you might use tools like scp for that ... in a windows environment you should have similar options ... so i guess the windows or the networking forum would be appropriate?

kind regards
Jul 24 '09 #4
Beany
173 100+
it's a public network with over 80 machines. I have access to all workstations but a script would have been much easier for me.
Jul 24 '09 #5
gits
5,390 Expert Mod 4TB
so i would suggest to ask in one of the mentioned forums. you need a command that will copy the files/folders to the remote machines ... that command depends on the services that you can use on the client-machines ... and then you might use a script and the WSH to execute that command for every node you want to affect ...

kind regards
Jul 25 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: William Starr Moake | last post by:
Another problem with the browser-based WYSIWYG editor I'm trying to assemble using IE's design mode. This opens the selected page in the editor iframe named iView: <select name="template"...
5
by: Ian Davies | last post by:
Hello I am trying to use php to automate the copying of a file from my remotely hosted directory to my computer. I have put together the following but it will only do the copying from one...
1
by: Bhavya Shah | last post by:
Hello All, I am facing a serious problem while copying a file to a remote computer programmatically. What I want to do: I want to connect to a remote computer and copy a file to the remote...
2
by: ReidarT | last post by:
I have a copyfile x y and built this to a exe-file.' When I run the exe-file built in the bin-directory and copy it to other machines I get an errormessage concerning security policy. I don't...
0
by: Didier Trosset | last post by:
I am using the following code. It is used to spawn a new process (using popen) and to change the file handles so that subsequent writes to standard output with printf goes into this child process...
2
by: somequestion | last post by:
During copying file , wanna read file Size like this string CheckFileSize(string fileName) { if( fileName == null ) return; FileInfo fi = new FileInfo(fileName); return fi.Length.ToString();...
12
by: Sankar | last post by:
Dear all, I am programming in Linux , wherein I need to know a couple of things. 1) Does an API exist that can copy file onto another file ( an API equivalent of 'cp') ? 2) Is there an API...
3
by: ipointer | last post by:
I am an experienced programmer that is fairly new to C++. I have written a small installation executable that is supposed to copy a set of files from within a directory just on the CD. The problem...
8
by: santhanalakshmi | last post by:
Hi, my batch file named cpf.bat COPY C:\Progra~1\Micros~1\MSSQL\BACKUP\acaddb.bak F:\DATABACKUP\acaddb.bak Its working fine. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.