Valerie Posted January 19, 2008 Share Posted January 19, 2008 XP Home sp.2 fully updated.Hypothetical situation. Lots of file transfers over a network. Three batch files used for copying, each file takes say 45 mins to run individually. Obviously that's over two hours if the files are run consecutively.If all three files are started at one time (three cmd.exe's running) would there be an appreciable time saving?Thanks Link to comment Share on other sites More sharing options...
Arie Posted January 20, 2008 Share Posted January 20, 2008 If you use default DOS commands, no. If you would use specific copy tools, then maybe yes. Terracopy is something which comes to mind. Never really used it myself, don't know if it can be scripted, but it might give you a pointer in the right direction. Link to comment Share on other sites More sharing options...
Yzöwl Posted January 20, 2008 Share Posted January 20, 2008 Simultaneous running commands will generally work quicker than consecutively running ones.Your biggest problem would more likely be with local hard drive head movement and writing to more than one network location at the same time.Trying it is your only sure fire way, but ensure that you play safe and use something like robocopy with its switches for handling verification and/or errors.To do it I would create a master batch file and run my three individual copy batches from it.for example:START "" %comspec% /c docopy1.cmdSTART "" %comspec% /c docopy2.cmdSTART "" %comspec% /c docopy3.cmd Link to comment Share on other sites More sharing options...
Valerie Posted January 21, 2008 Author Share Posted January 21, 2008 Thank you both - I will investigate Terracopy and Robocopy.V.. Link to comment Share on other sites More sharing options...
jaclaz Posted January 21, 2008 Share Posted January 21, 2008 As a side note, you may be interested in this (NOT faster):http://www.ruahine.com/ycopy-file-copy-utility.htmlAlso, IF the bottleneck is the network, you may want to compress the files locally into a (temporary) archive, then transfer the archive, this usually gives better performance when compared to a number of small files...jaclaz Link to comment Share on other sites More sharing options...
XP_2600 Posted January 21, 2008 Share Posted January 21, 2008 I agree with jaclaz compressing it locally before transfer it, seems the best solution, also i don't think a batch contain three batches gonna be good, cause each batch will take its own time to open a session and start copy and so on. Link to comment Share on other sites More sharing options...
Yzöwl Posted January 21, 2008 Share Posted January 21, 2008 Note that I said generally and also said that the only sure fire way would be to try it. On occasions when I have it has been.Other things tried too have been using additional copies of the command interpreter in different locations and running a different one for each copy operation. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now