A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

attribute P



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old September 26th 16, 07:08 PM posted to alt.comp.os.windows-10
Micky
external usenet poster
 
Posts: 1,528
Default 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  
Old September 26th 16, 08:11 PM posted to alt.comp.os.windows-10
Stormin' Norman
external usenet poster
 
Posts: 1,877
Default 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  
Old September 26th 16, 08:14 PM posted to alt.comp.os.windows-10
Stormin' Norman
external usenet poster
 
Posts: 1,877
Default 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  
Old September 26th 16, 08:43 PM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default 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  
Old September 27th 16, 02:23 AM posted to alt.comp.os.windows-10
Micky
external usenet poster
 
Posts: 1,528
Default 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  
Old September 27th 16, 02:47 AM posted to alt.comp.os.windows-10
Micky
external usenet poster
 
Posts: 1,528
Default 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
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 02:05 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.