sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating 4/5, Downloaded by 1810  Comments, bugs, improvements  Vim wiki

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 2002-10-02 6.0 Michael Geddes Initial upload
ip used for rating: 3.144.187.103

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 the maillist. Help Bram help Uganda.
   
Vim at Github