Vim logo vim online Vim Book Ad

Get UNC Path (Win32) : Get/Yank a UNC pathname using 'net share'

 script karma  Rating 0/0, Downloaded by 30

created by
Michael Geddes
 
script type
utility
 
description
The function GetUNCPathOf  tries to find a UNC pathname for a given file by searching the 'net share' list.
If it fails, it returns the filename it was passed.

The map <localleader>yf  yanks the filename into "*  - the clipboard, for use in emails or browsers.

Useful for placing filenames into intranet emails.

//.ichael G.
 
install details
Install as a plugin - or source as required
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
uncpath.vim 0.1 02-Oct-2002 6.0 Michael Geddes Initial upload

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to [email protected] after searching the archive. Help Bram help Uganda.
SourceForge Logo