| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Files.USBSerialNumber
Queries the USB serial number for a volume.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Files | 15.5 | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |
MBS( "Files.USBSerialNumber"; Path ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Path | The path to the volume of the USB Stick. On Windows a file path or simple the drive letter. |
"/Volumes/USBStick" |
Result
Returns text or error.
Description
Queries the USB serial number for a volume.We lookup the USB device for the volume and then lookup the serial number.
If no serial is available, we report an empty string.
Examples
Queris the USB serial number for an USB Stick:
MBS("Files.USBSerialNumber"; "/Volumes/USBStick")
Example result: DA702844
Example result: DA702844
Try on Windows:
MBS( "Files.USBSerialNumber"; "E:")
Example result: DA702844
Example result: DA702844
Release notes
- Version 16.1
- Implemented Files.USBSerialNumber for Windows.
- Improved Files.USBSerialNumber function on Windows to report hard disk and SSD serial numbers, too.
- Version 15.5
- Added Files.BSDVolumeName and Files.USBSerialNumber functions for macOS.
Blog Entries
- MBS FileMaker Plugin, version 16.1pr1
- New in MBS FileMaker Plugin 15.5
- Neues MBS Plugin 15.5 für Claris FileMaker
- MBS Plugin 15.5 for Claris FileMaker
- MBS FileMaker Plugin, version 15.5pr2
This function checks for a license.
Created 6th October 2025, last changed 17th January 2026
MarkDown version: FilesUSBSerialNumber.md