Re: Files from CD are read only

From: Dianah (flickers_at_shaw.ca)
Date: 05/24/04


Date: Mon, 24 May 2004 14:58:47 -0600

David,
I've used to use xcopy to copy folders with subdirectories - back in dos
days. I've used it lately on pc's where windows failed and only a dos
prompt was an option to salvage files.

For my current needs, I don't think xcopy is suitable. At this other
location, I copy the directories from the server onto a CD ... then I copy
the files from that CD onto my second hard drive (at home) and work on them.
I then copy them back onto a CD (at home), go to the other location and copy
them back over to their server (from the CD). Then the cycle continues.
It's a definite hassle, but it's how we have to do it.

I think your command prompt suggestion ... that removes the "read-only"
attribute is the best way to approach this.

Thanks again though, it certainly doesn't hurt to know alternatives.
Diana

"David Candy" <david@mvps.org> wrote in message
news:%23l7hOBdQEHA.3744@TK2MSFTNGP10.phx.gbl...
Perhaps you should type xcopy /? to see if you can use it. XCopy clears the
RO attribute on copy.

So

xcopy \\server\sharename\folder\*.* "c:\my folder\*.*"

Type xcopy /? (there's a million options)

or
cmd /k xcopy "\\server\sharename\folder\*.*" "c:\my folder\*.*"

-- 
----------------------------------------------------------
And the band played ....
http://www.smh.com.au/articles/2004/05/14/1084289883713.html
"Dianah" <flickers@shaw.ca> wrote in message
news:e8PcVwcQEHA.3452@TK2MSFTNGP10.phx.gbl...
> What a great plan.  Thank you so much.
> Yes ... the files are always in the same root directory (with several
> subdirectories).
> I'm gonna create the shortcut now and see what happens.
>
> Ok, it's done.
>
> I then made about 400 meg of files "read only" (in one of the
> subdirectories), then ran the shortcut "cmd.exe".
>
> Holy ....... (put in an expletive) !!!!  It worked faster than I could
> blink.
> I retested ... just in case.  Thank you so very much David.  This is
> ........!! marvelous.
>
> Diana
>
>
>
> "David Candy" <david@mvps.org> wrote in message
> news:ug3A4ocQEHA.2520@TK2MSFTNGP11.phx.gbl...
> Yep. Type attrib /? or attrib in help.
>
> If you copy to the same folder (so paths don't change) put this in a
> shortcut
>
> cmd /c attrib -r "c:\somefolder\*.gif" /s
> [or if you want to see the results]
> cmd /k attrib -r "c:\somefolder\*.gif" /s
>
> Paths need to be enclosed in quotes if they contain a space.
>
> Drag the files over, dbl click the shortcut.
> -- 
> ----------------------------------------------------------
> And the band played ....
> http://www.smh.com.au/articles/2004/05/14/1084289883713.html
> "Dianah" <flickers@shaw.ca> wrote in message
> news:e38rgicQEHA.3524@TK2MSFTNGP09.phx.gbl...
> > Wow .. I like the look of that.
> > So just type that line in comand prompt ... wow!
> > The /s switch drills into all the subdirectories, right?
> > Diana
> >
> > "David Candy" <david@mvps.org> wrote in message
> > news:%23yxk4QcQEHA.2876@TK2MSFTNGP09.phx.gbl...
> > You can use a command prompt
> >
> > attrib -r "c:\some folder\*.*" /s
> >
> > takes 6 seconds to do 6274 files in 1715 folders (3 gig file size)
> > -- 
> > ----------------------------------------------------------
> > And the band played ....
> > http://www.smh.com.au/articles/2004/05/14/1084289883713.html
> > "Dianah" <flickers@shaw.ca> wrote in message
> > news:uMdxVKcQEHA.1392@TK2MSFTNGP09.phx.gbl...
> > > Darrel,
> > > Thanks for your input and instructions.  Unfortunately, I already know
> how
> > > to change the properties when I copy them to the hard drive - have
been
> > > doing it for years - but until now, it was a few files and not a big
> > issue.
> > > However, you need to know that it really is an onerous task because
I'm
> > > transferring between 400 - 650 megs of files at a time in several
> > > directories and some of the files are rather big ... two are over 100
> meg.
> > > If you don't think it's onerous, try it sometime, when your boss is
> > standing
> > > over you, asking why you haven't started working yet ... while the
> screen
> > > sits with the sands of time displaying, trying to access the
properties
> of
> > > 100 files so that you can make them writeable - to start working.
It's
> > > very time consuming, trust me.
> > >
> > > If it was just a handful of files ... even if they were big, it
wouldn't
> > be
> > > such a big deal but there are far too many files for this behaviour to
> be
> > > acceptable.  I appreciate your instructions ... people in these
> newsgroups
> > > are very helpful.  Fortunately, I knew how to change it from read-only
> ...
> > > but it was just taking too long.  I've downloaded that program that
> Shenan
> > > sent the link for and will be giving it a try.  Diana
> > >
> > > "Darrell" <Dumwid@fox.com> wrote in message
> > > news:RNpsc.21973$PU5.3003@fed1read06...
> > > Files on a CD-R will always be read only.  Make a copy folder in
> Explorer.
> > > Copy all your files from the CD to that folder.  Go to that Folder.
> > Select
> > > All files.  Right click them, choose Properties.   Click out the
> checkmark
> > > before Read Only.  It will change them all at the same time.   Not an
> > > "onerous task".
> > >
> > > -- 
> > >
> > > B-58 Hustler History: http://members.cox.net/dschmidt1/
> > > -
> > >
> > > "Dianah" <flickers@shaw.ca> wrote in message
> > > news:eD$vTFQQEHA.3220@TK2MSFTNGP09.phx.gbl...
> > > > Is there a way to copy a bunch of data files from a CD and have them
> not
> > > > copy as read only.   I can go into the properties and make them not
> > "read
> > > > only", but it's an onerous task.  There are many files that I have
to
> > keep
> > > > copying back and forth.
> > > >
> > > > Any ideas ... or am I doing it wrong.  Please help.  This wastes a
lot
> > of
> > > > time.
> > > > Thanks a bunch.
> > > > Diana
> > > >
> > > >
> > >
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Files from CD are read only
    ... I'm gonna create the shortcut now and see what happens. ... subdirectories), ... If you copy to the same folder put this in a ... you need to know that it really is an onerous task because I'm ...
    (microsoft.public.windowsxp.general)
  • Re: XCOPY or equivalent
    ... >>First off I've never used XCOPY til now. ... >>I created a shortcut that I want all users to have on their desktops. ... >>Where scripts is a folder that contains many folders that users will access ...
    (microsoft.public.win2000.general)
  • XCOPY Error "Unable to create directory"
    ... I've never encountered a problem with the XCOPY command ... This is on Windows 2000/PRO updated to the ... trying to xcopy a folder layout to the zip drive. ...
    (microsoft.public.win2000.file_system)
  • Re: Can someone explain "My Documents"?
    ... > structure but Windows doesn't seem to have a definite structure. ... I have subdirectories for each application I work with. ... Wach application is configured to use this as the default folder. ... project, I file by creating application and if it is a major project, I file ...
    (microsoft.public.windowsxp.general)
  • Re: Side navigation
    ... The subdirectories should be able to contain subdirectories... ... in Band directory is the active page ... "photos" folder and call that folder by the order number. ... I see no such reason for doing so with your source code. ...
    (comp.lang.php)