Prev Previous Post   Next Post Next
Old 29th November 2013, 09:36   #1
kleinstein
Junior Member
 
Join Date: Aug 2013
Posts: 15
network drive path converting to UNC path.

well...

i want to take a folder from user and convert it to UNC path under windows 7.
(my environment is: NSIS Unicode version 2.46.5, Windows 7 Pro)

so i searched plugins, googled, and saw also wiki site.



what i found is this: Get Universal Name

http://nsis.sourceforge.net/Get_Universal_Name



and my code is really simple like example:

code:

Push "Z:\Austausch\skj\skj_rlm_gis.lic"
Call get_universal_name
Pop $0 ; sould be = "\\zeus\data\Austausch\skj\skj_rlm_gis.lic"



But it does not work. it give me always Error 1200 (this means, ERROR_BAD_DEVICE : The string pointed to by lpLocalPath is invalid. But the input path is Valid!!)



is there any other way to convert to UNC Path?
kleinstein is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
drive, network, path, unc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump