---
id: 10047
title: "Retrieve the drive letter from a device name on Windows"
source_domain: eshard.com
source_url: "https://www.eshard.com/blog/drive-letter-from-device-name-on-windows"
published_at: "2022-09-13T00:00:00Z"
tags: ["vulnerability-research", "windows", "tooling", "software-security", "eshard", "device-name"]
phying_url: "https://phying.com/item/10047"
lang: en
---

# Retrieve the drive letter from a device name on Windows

## Summary

# Parse the arguments given to our script parser = argparse.ArgumentParser() parser.add_argument( "--host", type=str, default="localhost", help='Reven host, as a string (default: "localhost")', )...

## Intelligence Metadata

- **Sources:** eshard.com
- **Published:** 2022-09-13T00:00:00Z
- **Original:** https://www.eshard.com/blog/drive-letter-from-device-name-on-windows
- **Phying News:** https://phying.com/item/10047
