readonly - Copy to read-only folder using xcopy -


is possible copy files folder folder read-only attribute enabled? mean destination folder read-only.

thanks

yes, possible on windows 7...

repro:

>cd \windows >dir *.ini  volume in drive c has no label.  volume serial number xxxxxxx   directory of c:\windows  26-04-2008  21:42                25 cdplayer.ini 11-08-2009  22:18                 0 iplayer.ini 10-06-2009  22:36             1.405 msdfmap.ini 22-09-2009  18:00               162 odbc.ini 31-10-2009  22:35               232 odbcinst.ini 10-06-2009  23:08               219 system.ini 15-05-2013  21:03                39 vbaddin.ini 13-11-2012  23:18               219 win.ini                8 file(s)          2.301 bytes                0 dir(s)  xxxxxx bytes free  >mkdir c:\xcp >attrib +r c:\xcp >attrib c:\xcp      r       c:\xcp >xcopy "*.ini" "c:\xcp" c:cdplayer.ini c:iplayer.ini c:msdfmap.ini c:odbc.ini c:odbcinst.ini c:system.ini c:vbaddin.ini c:win.ini 8 file(s) copied  >dir c:\xcp  volume in drive c has no label.  volume serial number xxxxxxxx   directory of c:\xcp  07-10-2013  11:27    <dir>          . 07-10-2013  11:27    <dir>          .. 26-04-2008  21:42                25 cdplayer.ini 11-08-2009  22:18                 0 iplayer.ini 10-06-2009  22:36             1.405 msdfmap.ini 22-09-2009  18:00               162 odbc.ini 31-10-2009  22:35               232 odbcinst.ini 10-06-2009  23:08               219 system.ini 15-05-2013  21:03                39 vbaddin.ini 13-11-2012  23:18               219 win.ini                8 file(s)          2.301 bytes                2 dir(s)   xxxxxxxxxxxxx bytes free 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

debian - 500 Error upon login into Plesk Admin - auth.php3? -