Active1 year, 11 months ago
OPSYS: Win10Pro 64 bit
- May 20, 2006 Display A% Of Progress Bar During Filecopy Sign in to follow this. I am looking to display a Progress bar (while copying a file) that represents the Progress of the file being copied, like Windows does. The examples I have seen, all display progress based on time or a percentage of overall time. The roblem, depending on size.
- In dependency of your Batch-File you can bind a Progress Bar to the result of this event. For example: When your Batch File copies some folder or files from a optical device to your hard disc you can check the hard disk space before copying starts.
RAM: 10GB
I created a batch file which I then saved to the desktop of the local Administrator account.
The batch file command line is this:
Apr 11, 2018 How To Show a Progress Bar While Copying Files? Offline #4 20 Jan 2010 00:42. Bluesxman Member From: UK Registered: 29 Dec 2006. Ill try the new batch in a bit when i get time and let you know what happens. Progress Indicator For Robocopy File. Jul 07, 2012 Hi, I'm trying to make a progress bar animate while copying my files, I'm making a backup batch files and i have the animation code for the progress bar but can't make them run in the same time i tried the ULTIMATE WHILE LOOP of Aacini but couldn't make it work.
I then created a Task Schedule in Task Scheduler to run the batch file.
I am now running it and do not see it running, other than when I refresh tasks in Task Scheduler Library view. There I see it and it says
'Running'
.I am concerned that I do not see any kind of progress bar and I would like to see that. Does anyone know if this can be done?
ChrisinAKChrisinAK
2 Answers
If you are using software someone else made (like
XCOPY
) then the only easy route is to just end up being limited to whatever functionality was placed in there by the people who made that software. Workarounds may exist (like jorgediaz-lr's answer.. another possibility may be to look at free space on the destination drive, if you know how much is going to be copied), but your easiest workaround may be to try using other software. Remember, XCOPY
was made in the days when having the /S
switch to include subdirectories was considered to be an advanced feature, because COPY
didn't have that ability.In the spirit of considering the XY problem, I point out that in Windows 10, you can check out the built-in
Robocopy
. (If you can't see the program running, Robocopy
also supports outputting to a log, which might be suitably helpful.)I notice your
/d
option to XCOPY
, which looks like is designed to just copy new files.Although
Robocopy
has some options starting with /I
to include some types of files, there isn't an option starting with /I
, for including just new files.. instead, the option that accomplishes this basic tasks will be the one that specifies to exclude old files. (/XO
)robocopy 'F:movies' 'L:movies' /XO
Avoid
/NP
(show mp progress display), maybe use /ETA
(show estimated time of arrival).TOOGAMTOOGAM
11.7k33 gold badges2626 silver badges4848 bronze badges
You can use Process Explorer http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
That application allows seeing which files are open by any process, so you can check the opened files by xcopy
jorgediaz-lrjorgediaz-lr
Not the answer you're looking for? Browse other questions tagged windows-10batch-filewindows-task-schedulerxcopy or ask your own question.
Active1 year, 11 months ago
OPSYS: Win10Pro 64 bit
RAM: 10GB Sample program in java with class.
I created a batch file which I then saved to the desktop of the local Administrator account.
The batch file command line is this:
I then created a Task Schedule in Task Scheduler to run the batch file.
I am now running it and do not see it running, other than when I refresh tasks in Task Scheduler Library view. There I see it and it says
'Running'
.I am concerned that I do not see any kind of progress bar and I would like to see that. Does anyone know if this can be done?
ChrisinAKChrisinAK
2 Answers
If you are using software someone else made (like
XCOPY
) then the only easy route is to just end up being limited to whatever functionality was placed in there by the people who made that software. Workarounds may exist (like jorgediaz-lr's answer.. another possibility may be to look at free space on the destination drive, if you know how much is going to be copied), but your easiest workaround may be to try using other software. Remember, XCOPY
was made in the days when having the /S
switch to include subdirectories was considered to be an advanced feature, because COPY
didn't have that ability.In the spirit of considering the XY problem, I point out that in Windows 10, you can check out the built-in
Robocopy
. (If you can't see the program running, Robocopy
also supports outputting to a log, which might be suitably helpful.)I notice your
/d
option to XCOPY
, which looks like is designed to just copy new files.Although
Robocopy
has some options starting with /I
to include some types of files, there isn't an option starting with /I
, for including just new files.. instead, the option that accomplishes this basic tasks will be the one that specifies to exclude old files. (/XO
)robocopy 'F:movies' 'L:movies' /XO
Avoid
/NP
(show mp progress display), maybe use /ETA
(show estimated time of arrival).Create Batch File Progress Bar
TOOGAMTOOGAM11.7k33 gold badges2626 silver badges4848 bronze badges
You can use Process Explorer http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
That application allows seeing which files are open by any process, so you can check the opened files by xcopy
C# Copy File Progress
jorgediaz-lrjorgediaz-lr