Windows Program Manager group file
application/octet-stream
Magic Bytes
Offset: 0
50 4D 43 43
The Windows Program Manager group file is a legacy binary configuration format developed by Microsoft for early versions of the Windows operating system. It was primarily used to organize application shortcuts and icons into logical collections within the Program Manager interface on Windows 3.x and Windows NT. Although largely obsolete following the introduction of the Windows 95 Explorer shell and Start Menu, these files may still appear in archival systems or conversion utilities.
Validation Code
How to validate .grp files in Python
Python
def is_grp(file_path: str) -> bool:
"""Check if file is a valid GRP by magic bytes."""
signature = bytes([0x50, 0x4D, 0x43, 0x43])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .grp files in Node.js
Node.js
function isGRP(buffer: Buffer): boolean {
const signature = Buffer.from([0x50, 0x4D, 0x43, 0x43]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsGRP(data []byte) bool {
signature := []byte{0x50, 0x4D, 0x43, 0x43}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/grp
curl https://filesignature.org/api/v1/grp