Solved

How to copy just 1 file with NTFS security with ROBOCOPY?

Posted on 2010-09-11
5
794 Views
Last Modified: 2012-05-10
How to copy just 1 file with NTFS security with ROBOCOPY?
0
Comment
Question by:SAM2009
5 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 33655679
What do you mean by ntfs security, are you talking about the security info as well?

/secfix I think might do it
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 100 total points
ID: 33655682
actually it might just be /sec. I am confirming this with the list of switches here http://www.mydigitallife.info/2007/05/07/robocopy-syntax-command-line-switches-and-examples/
0
 
LVL 83

Assisted Solution

by:oBdA
oBdA earned 100 total points
ID: 33655964
You just add the file name(s) as argument after the source and target folder:
robocopy "S:\ource\FOLDER" "T:\arget\FOLDER" "TheFileName.ext" /copyall
0
 
LVL 6

Assisted Solution

by:Hisham_Elkouha
Hisham_Elkouha earned 50 total points
ID: 33656140
/sec would do it
0
 
LVL 1

Author Closing Comment

by:SAM2009
ID: 33659234
I already tried /sec and /copy...both work fine but there was something that maked me confused.

Exemple: robocopy "S:\ource\FOLDER" "T:\arget\FOLDER" "TheFileName.ext" /copyall

or robocopy "S:\ource\FOLDER" "T:\arget\FOLDER" "TheFileName.ext" /sec


With robocopy XP010 even if folder in target does not exist it will create it and copy file with security NTFS. This is not the case with XP027, with XP027 version like in Win 2008 if folder specified in target is missing the file will be copied but not the permisssion.

Thanks for your helps.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sweet32 Vulnerability in Microsoft IIS7.5 6 358
batch file problem 5 46
Does Radius Server need to be AD server? 3 39
No login server available 4 54
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question