hi quick question
i have just xcopied a entire hard drive i now need to attribute the files the folders name is sbh laptop backup i have tried every command that i can think of
any suggestions will help
thanks
attributing in dos
-
- Registered User
- Posts: 79
- Joined: 02 Jul 2008, 02:00
- Location: Cape Town
attributing in dos
Knowledge is power !
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: attributing in dos
xcopy's "/k" switch tells xcopy to replicate with attributes...
does ATTRIB not work?...
does ATTRIB not work?...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 79
- Joined: 02 Jul 2008, 02:00
- Location: Cape Town
Re: attributing in dos
no it keeps giving me errors i even tried everything at this site with the - syntax http://www.computerhope.com/attribhl.htm
Knowledge is power !
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
- Tribble
- Registered User
- Posts: 88465
- Joined: 08 Feb 2007, 02:00
- Processor: Intel Core i7-4770K CPU@3.50GHz
- Motherboard: ACPI x64-based PC
- Graphics card: GeForce GTX 780 Ti
- Memory: 16GB
- Location: Not here
- Contact:
Re: attributing in dos
What attributes are you trying to change or add?
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: attributing in dos
you're doing this from within windows?...
what's the error?
do you have sufficient rights? if not, you'll have to change ownership before attempting to change attribs...
<edit>
Sufficents: extremely rare species of feline noted for its ability to discern the difference between a piping hot pizza and a duck.
what's the error?
do you have sufficient rights? if not, you'll have to change ownership before attempting to change attribs...
<edit>
Sufficents: extremely rare species of feline noted for its ability to discern the difference between a piping hot pizza and a duck.
Last edited by rustypup on 30 Mar 2009, 12:47, edited 1 time in total.
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 79
- Joined: 02 Jul 2008, 02:00
- Location: Cape Town
Re: attributing in dos
im trying to view the folder after ive done an xcopy
im using the -r -s -h /s /d syntaxes but it will not attribute the folder
d: attrib -r -s h d:\sbh laptop backup /s /d and many other varients
im using the -r -s -h /s /d syntaxes but it will not attribute the folder
d: attrib -r -s h d:\sbh laptop backup /s /d and many other varients
Knowledge is power !
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
Re: attributing in dos
and the errors are?
Most people would sooner die than think; in fact, they do so - Bertrand Russel
- Tribble
- Registered User
- Posts: 88465
- Joined: 08 Feb 2007, 02:00
- Processor: Intel Core i7-4770K CPU@3.50GHz
- Motherboard: ACPI x64-based PC
- Graphics card: GeForce GTX 780 Ti
- Memory: 16GB
- Location: Not here
- Contact:
Re: attributing in dos
Are you doing the whole folder at once - or the files individually? eg attrib *.* -h ? You need to specify the files / folder before you do the attributes.
-
- Registered User
- Posts: 79
- Joined: 02 Jul 2008, 02:00
- Location: Cape Town
Re: attributing in dos
problem solved
used easy data recovery to retrieve the information
can view all the files and access them
thanks for the help people
used easy data recovery to retrieve the information
can view all the files and access them
thanks for the help people
Knowledge is power !
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!
Power corrupts !
Corruption is crime!
Crime doesn't pay!
So if you keep on studying you will go broke!!!