Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can You Control File Copy Priority?

13 May 2012   #11
JOSHSKORN

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
What are you doing hiding the libraries?
I didn't hide or unhide them. Should I just change the file attribute through Windows to make it not Hidden? This directory is used for recorded TV. I have an InfiniTV 4 tuner installed on my computer. Not sure if making the directory Not Hidden would make an impact or not.


My System SpecsSystem Spec
.
13 May 2012   #12
logicearth

Windows 10 Pro (x64)
 
 

Ummm...RecordedTV.library-ms does not contain your files. Its just the configuration of the library in question.
My System SpecsSystem Spec
13 May 2012   #13
Sir George

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by JOSHSKORN View Post
Please help me understand how to use Robocopy.

I want to set up a batch file for backing up my data. Instead of 'recopying' old data, I'd like to make sure only new files get backed up. Again, this is onto a 500 GB HDD.

That said, I watched a YouTube video on Robocopy. The person that made the video used the /MIR switch. I don't know what that really means. He then went on and created a batch file. I've modified the batch file to suit my needs and have saved it as a "CMD" file. (Note: I've never used the CMD extension, only BAT).
Code:
robocopy "C:\Users\Josh\Documents\Backup Files" "F:\Backup Files" MIR
robocopy "C:\Users\Public\Libraries\RecordedTV.library-ms" "F:\Recorded TV" MIR
The example in the video did not have quotations, but the paths used in the example also did not include spaces. Based on what I know about using the "CD" command, I added in the quotations.
The following link will provide a pretty detailed list of command switches;

http://ss64.com/nt/robocopy.html

HTH
My System SpecsSystem Spec
.

13 May 2012   #14
JOSHSKORN

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by logicearth View Post
Ummm...RecordedTV.library-ms does not contain your files. Its just the configuration of the library in question.
Can you help me find the correct path?
My System SpecsSystem Spec
13 May 2012   #15
logicearth

Windows 10 Pro (x64)
 
 

It would be whatever you set the path to in the library...I'm not sitting in front of your computer to tell you.
My System SpecsSystem Spec
13 May 2012   #16
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

I posted an answer. Don't know what happened. Here goes again:

go to a command prompt;
type:
CD /D %SYSTEMDRIVE%\USERS\PUBLIC\"RECORDED TV"

and hit Enter

type:
DIR /AH /AS /AR /S

and hit enter.
Post the result please.
My System SpecsSystem Spec
13 May 2012   #17
JOSHSKORN

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by karlsnooks View Post
I posted an answer. Don't know what happened. Here goes again:

go to a command prompt;
type:
CD /D %SYSTEMDRIVE%\USERS\PUBLIC\"RECORDED TV"

and hit Enter

type:
DIR /AH /AS /AR

and hit enter.
Post the result please.
Ah, I did a Google search a few minutes ago and came up with the same answer. I'm curious what those parameters are. Anyway, I've modified my script and it seems to be working now.

Since you asked, the source directory for my recordings is C:\Users\Public\Recorded TV

The script lives! I've changed the robocopy process on my computer to a low priority. It's still slow, but not nearly as bad as I experienced with a Windows file copy. I'll have to remember this tool. Thanks.

Now, what if I wanted to delete a file in the source that was already in the destination?
My System SpecsSystem Spec
13 May 2012   #18
Brds7t7

Windows 7 Pro 64-Bit, Windows 7 Ultimate 64-Bit, Windows 8.1 Pro 64-Bit
 
 

You could either delete it manually or reverse the command so that F is the source and C the destination and use the /mir command again. Pretty sure that will work.
My System SpecsSystem Spec
13 May 2012   #19
Brds7t7

Windows 7 Pro 64-Bit, Windows 7 Ultimate 64-Bit, Windows 8.1 Pro 64-Bit
 
 

Create a couple of test folders on each drive with blank text files and play around with the commands until you're sure they work. That's what I do
My System SpecsSystem Spec
13 May 2012   #20
Brds7t7

Windows 7 Pro 64-Bit, Windows 7 Ultimate 64-Bit, Windows 8.1 Pro 64-Bit
 
 

Here are some other useful commands I use:
/E : Copy Subfolders, including Empty Subfolders.
/DCOPY:T : Copy Directory Timestamps.
/COPYALL : Copy ALL file info (equivalent to /COPY: DATSOU).
/Z : Copy files in restartable mode (survive network glitch).
/R:n : Number of Retries on failed copies - default is 1 million. (Replace n with number, I use 20)
/W:n : Wait time between retries - default is 30 seconds. (Replace n with number I use 10)
/MT[:n] : Multithreaded copying, n = no. of threads to use (1-128) default = 8 threads, The use of /LOG is recommended for better performance.

Sorry if my posts look a little rough as I'm trying to write them on a phone at the moment!
My System SpecsSystem Spec
Reply

 Can You Control File Copy Priority?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
move/copy file option priority
When I select several files from one folder to move to a different folder will the most currently dated file automatically remain in the "moving" to file if the a file I am moving is older than the existing file? Or do I have to audit the move and select "skip" everytime there is a file conflict?
General Discussion
Copy file address after doing a file search in windows explorer
Hi All I have a rather large file system with lots of folders & subfolders. When I want to save previously on Xp operating system I'd search in explorer open the folder I want then copy the address (e.g c:\customer records\client name\job address). In windows 7, when I copy the folder address i...
General Discussion
how do I copy a BIG single file (using richcopy?) big file copy
I'm trying to copy a VHD (22g, dynamic I think...) I tried richcopy. It says copy started, but then stops.... I saw someone mention xcopy /j, to achieve the unbuffered I/O perf. you get with richcopy... it's running, but no indication as to how long it takes (EDIT: just finished, > 10...
General Discussion
Trying to edit a batch file to run with a higher CPU priority
Hi guys, Long time reader, first time poster. I have a batch file, named lima.bat which has the following code in it: del *.bin setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_USE_SYNC_OBJECTS 1 color 02
General Discussion
Boot Priority & Boot Device Control for New SSD as boot drive
After reading through lots and lots of posts and tutorials, I'm still a little confused. I worked for a carpenter one summer when I was a kid and he stressed the philosophy of measuring twice and cutting once as a rule to live by. So, before I fire up my saw, I thought I would seek a little...
Installation & Setup
Using bat file to tweak process priority.
Hey everyone, I am at school in a photoshop class and instead of spending 5-10 minutes changing the priority status of some useless programs that run in the background I wanna just use a bat file to do it all for me. Basicly the processes I am turning down are like the dell default programs that...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App