Files.USBSerialNumber
---------------------

Queries the USB serial number for a volume.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Files](component_Files.md) | [15.5](newinversion155.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ❌ No |

MBS( "Files.USBSerialNumber"; Path ) 

**MBS**( **"Files.USBSerialNumber";** /\* Queries the USB serial number for a volume. \*/  
**$Path**) /\* The path to the volume of the USB Stick.  
On Windows a file path or simple the drive letter.e.g. "/Volumes/USBStick" \*/ 

### 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")  
<small>  
Example result: DA702844</small>Try on Windows:

 MBS ( "Files.USBSerialNumber"; "E:")  
<small>  
Example result: DA702844</small>### Release notes

- **Version 16.1**
    - Implemented [Files.USBSerialNumber](https://www.mbsplugins.eu/FilesUSBSerialNumber.shtml) for Windows.
    - Improved [Files.USBSerialNumber](https://www.mbsplugins.eu/FilesUSBSerialNumber.shtml) function on Windows to report hard disk and SSD serial numbers, too.
- **Version 15.5**
    - Added [Files.BSDVolumeName](https://www.mbsplugins.eu/FilesBSDVolumeName.shtml) and [Files.USBSerialNumber](https://www.mbsplugins.eu/FilesUSBSerialNumber.shtml) functions for macOS.

### Blog Entries

- [MBS FileMaker Plugin, version 16.1pr1](https://www.mbsplugins.de/archive/2026-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [New in MBS FileMaker Plugin 15.5](https://www.mbsplugins.de/archive/2025-11-25/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 15.5 für Claris FileMaker](https://www.mbsplugins.de/archive/2025-11-18/Neues_MBS_Plugin_155_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 15.5 for Claris FileMaker](https://www.mbsplugins.de/archive/2025-11-18/MBS_Plugin_155_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.5pr2](https://www.mbsplugins.de/archive/2025-10-08/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 6th October 2025 , last changed 17th January 2026

  
[Files.Stat](FilesStat.md) - [Files.UbiquitousItemStatus](FilesUbiquitousItemStatus.md)

[HTML Version](FilesUSBSerialNumber.shtml)