If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
attribute P
Using xplorer2 as file manager, it shows 11 attributes for files instead
of just 4 or 5, and for a software distribution file the 11th attribute was P! P? Phoney? Pretty? Pusillanimous? Polymorphic? |
Ads |
#2
|
|||
|
|||
attribute P
On Mon, 26 Sep 2016 14:08:23 -0400, micky wrote:
Using xplorer2 as file manager, it shows 11 attributes for files instead of just 4 or 5, and for a software distribution file the 11th attribute was P! P? Phoney? Pretty? Pusillanimous? Polymorphic? P = Sparse file |
#3
|
|||
|
|||
attribute P
On Mon, 26 Sep 2016 19:11:24 +0000, Stormin' Norman wrote:
On Mon, 26 Sep 2016 14:08:23 -0400, micky wrote: Using xplorer2 as file manager, it shows 11 attributes for files instead of just 4 or 5, and for a software distribution file the 11th attribute was P! P? Phoney? Pretty? Pusillanimous? Polymorphic? P = Sparse file To answer your next question, this defines "sparse file": https://msdn.microsoft.com/en-us/lib...64(VS.85).aspx |
#4
|
|||
|
|||
attribute P
micky wrote:
Using xplorer2 as file manager, it shows 11 attributes for files instead of just 4 or 5, and for a software distribution file the 11th attribute was P! P? Phoney? Pretty? Pusillanimous? Polymorphic? There's a list here. http://superuser.com/questions/44812...-values/615305 Let- Bit ter masks Description and notes --- ------- ------------------------------------------------------------------ R 0x1 Read-only H 0x2 Hidden S 0x4 System (V) 0x8 Volume label (obsolete in NTFS and must not be set) D 0x10 Directory A 0x20 Archive X 0x40 Device (reserved by system and must not be set) N 0x80 Normal (i.e. no other attributes set) T 0x100 Temporary P 0x200 Sparse file L 0x400 Symbolic link / Junction / Mount point / has a reparse point C 0x800 Compressed (flag changable with directories only) O 0x1000 Offline I 0x2000 Not content indexed (displayed as 'N' in Explorer in Windows Vista) E 0x4000 Encrypted (V) 0x8000 Integrity (Windows 8 ReFS only; attribute not displayed in Explorer) - 0x10000 Virtual (reserved by system and must not be set) (X) 0x20000 No scrub (Windows 8 ReFS only; attribute not displayed in Explorer) ******* You can test your strange file of the week, with a command such as this. Works on NTFS. fsutil usn readdata C:\this_is_a_test.txt The command returns 13 lines of text, and the File Attributes one is the one you want. File Attributes: 0x20 Note that an attribute is a logical OR of the bitfields, so for example File Attributes: 0x820 = 0x800 Compressed 0x20 Archive I only learned this stuff, while trying to hunt down all the NTFS compressed files on a disk. The output format makes it rather painful to do filtering. It helps to run that from an Administrator command prompt, but some folders will still (of course) be Access Denied. HTH, Paul |
#5
|
|||
|
|||
attribute P
In alt.comp.os.windows-10, on Mon, 26 Sep 2016 19:14:53 +0000, Stormin'
Norman wrote: On Mon, 26 Sep 2016 19:11:24 +0000, Stormin' Norman wrote: On Mon, 26 Sep 2016 14:08:23 -0400, micky wrote: Using xplorer2 as file manager, it shows 11 attributes for files instead of just 4 or 5, and for a software distribution file the 11th attribute was P! P? Phoney? Pretty? Pusillanimous? Polymorphic? P = Sparse file To answer your next question, this defines "sparse file": https://msdn.microsoft.com/en-us/lib...64(VS.85).aspx How'jou know that was my question, Willis? Thanks. I still like Pretty. |
#6
|
|||
|
|||
attribute P
In alt.comp.os.windows-10, on Mon, 26 Sep 2016 15:43:25 -0400, Paul
wrote: micky wrote: Using xplorer2 as file manager, it shows 11 attributes for files instead of just 4 or 5, and for a software distribution file the 11th attribute was P! P? Phoney? Pretty? Pusillanimous? Polymorphic? There's a list here. http://superuser.com/questions/44812...-values/615305 Let- Bit ter masks Description and notes --- ------- ------------------------------------------------------------------ R 0x1 Read-only H 0x2 Hidden S 0x4 System (V) 0x8 Volume label (obsolete in NTFS and must not be set) D 0x10 Directory A 0x20 Archive X 0x40 Device (reserved by system and must not be set) N 0x80 Normal (i.e. no other attributes set) T 0x100 Temporary P 0x200 Sparse file L 0x400 Symbolic link / Junction / Mount point / has a reparse point C 0x800 Compressed (flag changable with directories only) O 0x1000 Offline I 0x2000 Not content indexed (displayed as 'N' in Explorer in Windows Vista) E 0x4000 Encrypted (V) 0x8000 Integrity (Windows 8 ReFS only; attribute not displayed in Explorer) - 0x10000 Virtual (reserved by system and must not be set) (X) 0x20000 No scrub (Windows 8 ReFS only; attribute not displayed in Explorer) This is getting too complicated. I'm voting for the candidate who can lower the number of letters to the original 4. ******* You can test your strange file of the week, with a command such as this. Works on NTFS. fsutil usn readdata C:\this_is_a_test.txt The command returns 13 lines of text, and the File Attributes one is the one you want. File Attributes: 0x20 Note that an attribute is a logical OR of the bitfields, so for example File Attributes: 0x820 = 0x800 Compressed 0x20 Archive I only learned this stuff, while trying to hunt down all the NTFS compressed files on a disk. The output format makes it rather painful to do filtering. It helps to run that from an Administrator command prompt, but some folders will still (of course) be Access Denied. HTH, Paul Very interesting. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|