Einzelnen Beitrag anzeigen

Kas Ob.

Registriert seit: 3. Sep 2023
353 Beiträge
 
#2

AW: Zeichen für Datei-Attribute

  Alt 4. Aug 2024, 09:28
Hi,

Zitat:
Is there a function that returns the letter/characters that Windows uses for a file attribute?
I don't recall seeing such thing.

One thing though, where did you get these letters from ?
I mean this part might be wrong, ( i think !! )
Code:
     
      ,(Bit:9; Attribute:512;      Text:'P'; LongText:'SparseFile')  // ??
..........
      ,(Bit:19; Attribute:524288;   Text:'?'; LongText:'Pinned')     // should be P
      ,(Bit:20; Attribute:1048576;  Text:'?'; LongText:'Unpinned')   // should be U
from here https://learn.microsoft.com/en-us/wi...ommands/attrib


on side note : files can be pinned and unpinned at the same time.
also found this (by searching) https://ss64.com/nt/attrib.html

The one that is really i don't understand what it does is this one
Zitat:
{+\|-}b Sets (+) or clears (-) the SMR Blob file attribute.
As i can't find any helpful resource about it, and why if possible a local file can have it !? yet, on my PC it only report "Invalid switch - +b", like i am not allowed to change this attribute or even access it.
Kas
  Mit Zitat antworten Zitat