remove the drectory attribute with cmd
Moderator: DosItHelp
remove the drectory attribute with cmd
Is it possible to remove the directory attribute from folders or add it to files using command prompt?
Re: remove the drectory attribute with cmd
As far as i know, it should be impossible under all MS-Windows and MS-DOS versions (even when using c++, except if you program the complete Interface on your own).
You may be able to do that with a Disk-Editor, but be warned that this probably produce unepected results:
Under certain conditions it may also damage your Hardware (for example if such a "file" is used as a hdd-driver; but there are also other possibilties).
So: You have to do it on your own risk.
If you still want to do this, the following links may help you:
http://read.pudn.com/downloads81/sourcecode/windows/system/315403/E%20NTFS%20On-Disk%20.pdf
https://msdn.microsoft.com/en-us/library/bb470206(v=vs.85).aspx
penpen
You may be able to do that with a Disk-Editor, but be warned that this probably produce unepected results:
Under certain conditions it may also damage your Hardware (for example if such a "file" is used as a hdd-driver; but there are also other possibilties).
So: You have to do it on your own risk.
If you still want to do this, the following links may help you:
http://read.pudn.com/downloads81/sourcecode/windows/system/315403/E%20NTFS%20On-Disk%20.pdf
https://msdn.microsoft.com/en-us/library/bb470206(v=vs.85).aspx
penpen