The method of brother zh159 on floor 6 is wonderful ~ :)
If brother blueglede must challenge this kind of DIY thing, it's not impossible ~ :)
) Split the large file to be XCOPYed using the file splitting code written by brother LXMXN (search in the forum), and use it to split the large file into 100 parts!
) Then use a FOR loop to display a progress process for each COPY of one part. When the 100th part is copied, it will naturally show 100% progress.
This is a relatively precise method ~ :)
By the way, after all 100 parts are copied, copy /B to splice them... (restore)
In this way, brother progress bar can freely customize various progress bars ~ :)
But, splitting a large file takes time and also needs to occupy the same amount of file size space. Then each time a sub-block is copied, the batch code for displaying the progress bar is called once. When all 100 blocks are copied, it is estimated that brother needs to copy a 100MB large file, and it will take 2-3 times the total time of the ordinary XCOPY, haha...
[ Last edited by redtek on 2007-2-7 at 05:49 PM ]
Redtek,一个永远在网上流浪的人……
_.,-*~'`^`'~*-,.__.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._,_.,-*~'`^`'~*-,._