Wednesday, October 10, 2012

SMB/UNC Path Translator Bookmarklet

I needed a quick way to translate a UNIX-style SMB path to a Windows-style UNC path and vice versa.

For example:
From: smb://my-server/path/to/file
To: \\my-server\path\to\file
OR
From: \\my-server\path\to\file
To: smb://my-server/path/to/file
So I created the bookmarklet below. To use it, drag the link below to your bookmark bar. Then click it, enter a path, and click OK. It will return a translated path that you can then copy and paste.

Path Translator

 
Blogger Templates