9

OPSYS: Win10Pro 64 bit

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:

xcopy "F:\movies" "L:\movies" /d

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?

Hackoo
  • 1,410

4 Answers4

9

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).

TOOGAM
  • 16,486
5

You can view that in task manager.
If total file size to be downloaded is 4 GB then go to

  1. the program

    Task Manager -> Details tab -> Right click -> Select columns -> I/o write bytes column

  2. Select "xcopy.exe" process.

The number of bytes written will indicate how much is done & what remains.

K P
  • 51
0

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

0

You can view Read B/sec and Write B/sec in task manager

BUT looking for the Read B/sec and Write B/sec for the XCopy process is NOT the correct answer.

The processes (one to read, one to write) that actually perform the copying on XCopy's behalf is system.

If you use Disk Activity in Resource Monitor and look for the filename of the destination file being written, or source file being read from to you can see the actual copy process and an indication of current B/sec of copy process, unfortunately it doesn't give you an indication of progress other than data is being read from and written at the indicated speeds.