|
Answer» How do i make my bat file.....update once a week by replaycing him......
TksEvery seven days you write another one?
PS Lousy thread title.What do you need to update once a week? A batch file? Please be specific.
And as for once a week, try using Scheduled Tasks.Its like this...i need to make an update of my batch file, per example.....I got this file right? then if i want to edit and work on it...i would like to right a code, so my file can be updated Automatically EVERY thursday....on another Hard Drive....its like a server....i am working on a server and i want to update on the other hard drives Automatically with out writing every single thursday...
Do you understand now? What I've got is that you are writing a new/or improving a files code. Then you need to use Task Scheduler to open another batch file every thursday which would copy this across to other hard drives/computers?
If you supplied information such as the locations of the file that would be changed and the files it needs to replace then I am sure someone would be glad to write you a program. (I'm not sure but if you need to change files over a network you may need an additional cmd line utility that you can pipe the file through?). Then it is just a matter of configuring a Task in Task Scheduler to run at a specified date/time; which I'm sure can be done without difficulty.
As has been mentioned, please refrain from using Subjects Such as "Neeeedddddd HHHHEEELLLPPPPPPP". I have renamed the subject line in this post as such - it is alot more relevant to the problem and people will be more inclined to help. Keep that in mind for future help requests.
P.S. Enjoy your STAY at puterhope.com!You got it Right. ..thats what i want....but for some reason my schedule task dosen't work..so i had to go thro the tools in Microsft Explorer.....
here is my code
echo Off
net use I:\\[Computer Name]\[folder]
xcopy I:\\[Computer]\[folder] K:\\[Computer]\[folder] /s
Pause
Now i need to confirm the code...cause i don't think this one works...thats why i am asking if some knows about this.... Thats better, it would have been a lot better if you COULD have stated all this originally. I'm occupied at the moment though I'm sure now we have the information someone will be glad to help.Shot bro..
Tks a lot hey..
I'll be wayting for answers.....
Quote from: LuisLopes on July 18, 2007, 01:16:19 AM here is my code
echo Off
net use I:\\[Computer Name]\[folder] you c this? xcopy I:\\[Computer]\[folder] K:\\[Computer]\[folder] /s
Pause
I:\\from which computer the name please\the folder were its located\the file name K:\\to which pc the name\the folder were u want to place it.
xcopy is right just do some exercise then u will b OK...www.google.comJust one more Question......Is there any POSSIBILITY to do the Copy Automatically with out using the schedule task? or the Microsoft Explorer/Tools/"Map Network Drive" ? by coding it..
Tks
Actualy this is a good question? is it possible?
I would like to c also the coding for it..
tks
|