Questions tagged [unc]

A UNC path unambiguously specifies the location of a volume, directory, file or other local or remote resource on Windows.

On Windows, a UNC path specifies the location of a local or remote resource, including files, directories, volumes and more. UNC path generalize traditional file paths. A UNC path has the form \\Hostname\Folder\Resource. A UNCW path (long UNC) has the form \\?\UNC\Hostname\Folder\Resource.

593 questions
2
votes
1 answer

SSIS to run SSRS Reports: works on local but "Network name could not be found" when run as agent job?

Background info: We run a number (9 currently) of core SSRS reports, these are heavily parameterised, but the important ones are StartDate, EndDate, and Department. These are to be run on a Daily, Weekly, Monthly, Quarterly, Annual and Ad-Hoc…
DevSql
  • 21
  • 1
  • 3
2
votes
4 answers

Regular Expressions ~ convert UNC to URL

I'm looking for a nice tight regex solution to this problem. I'm looking to reformat an UNC into a Uri Problem: UNC directory needs to be reformatted into a Uri \\server\d$\x\y\z\AAA needs to look like: http://server/z/AAA
KevinDeus
  • 11,988
  • 20
  • 65
  • 97
1
vote
1 answer

How to implement IOCTL_REDIR_QUERY_PATH in filesystem driver?

I'm making a network redirector and would like to support UNC. To support UNC I should implement IOCTL_REDIR_QUERY_PATH. I have read the document but can't understand what LengthAccepted means. Suppose my unc name is \\a\b and receive the control…
Benjamin
  • 10,085
  • 19
  • 80
  • 130
1
vote
2 answers

ant: copy file from remote location on windows

I want to copy a file present in a shared location to windows machine. Is there some way by which i can specify username and password while copying the file? If i try to access using copy task, it is giving error saying location does not exist. is…
1
vote
2 answers

UNC build path in Team build (TFS)

I am pretty new to TFS so I have this problem when I want to set a destination directory to my build. Every time I launch the build, it dramatically fails and says "couldn't find \xxxxxxx\yyyyy\zzzz". I think that my UNC path is wrong. Let's assume…
lemoos
  • 167
  • 1
  • 4
  • 17
1
vote
2 answers

Access to the path xxx is denied

After reading tons of similar posts I decided to came up with this one. Well, basically this problem is similar to many others, but somehow I can't make it work. Here's the scenario, I have load balancing over 2 servers (servA and servB) and I need…
Sballerio
  • 21
  • 1
  • 1
  • 7
1
vote
2 answers

Connecting to password protected UNC using Java

I need to copy files to and from some windows network share, like \\compname\admin$ for example. Right now we use JNI and open a connection using WNetAddConnection2 and then WinAPIs CopyFile to operate. Source machine has Windows OS. Isn't there…
Vic
  • 21,473
  • 11
  • 76
  • 97
1
vote
1 answer

UNC Linking to Network Share in Chrome

I have a UNC link something like this on an ASP.NET page which links to an Network Share location. This link works perfectly in IE (surprisingly), and even in Chrome and Firefox if I copy/paste into the address bar, but the link is completely…
Chiramisu
  • 4,687
  • 7
  • 47
  • 77
1
vote
2 answers

Cygwin Access Windows UNC Mapped Drive

I often need to do some text processing for windows network drive. Since there are so many of them I have almost all my drive letters are used (I think T is still available). I something need to do: cd "\lonshr-cad\cad\Feeds\BondPricesNYClose\"…
Dean
  • 1,103
  • 4
  • 17
  • 29
1
vote
1 answer

Powershell get-childitem works different with long-path prefix (\\?\)

I have different results in these two cases: case 1: Get-ChildItem -Path "\\?\UNC\very\long\path" case 2: Get-ChildItem -Path "\\very\long\path" If the long path is less than 260 characters long, I have diferent results. case 1: Zero child items…
toscanelli
  • 1,202
  • 2
  • 17
  • 40
1
vote
0 answers

VBA throwing run time error : 76 - Path Not Found

I am trying to create a macro based VBA wherein the code will access sharepoint files do some file moving, copying as well as some data manipulation activities. While using UNC path for sharepoint folder, at times it works and sometimes it throws…
haleem3388
  • 11
  • 2
1
vote
0 answers

server IIS PHP UNC PATH stop working (is_file(),file_extist()) with share folders

A php application working on windows IIS server (Active Directory), need to read a shared file on different server. "the site" have windows authentication. it worked for years. Suddenly last week (22-25 March 2023) stop working. Now php app reads…
1
vote
0 answers

How to start click-once application .application file on UNC path with Windows Task Scheduler?

I've found quite a few posts on the net describing a similar or even the same situation but there were almost no replies and none that helped me get this working. The setup is rather simple. I have a .net application that is published to a UNC…
Toby
  • 570
  • 2
  • 8
  • 23
1
vote
2 answers

Link to UNC/local resource in HTML

I want to link local UNC path (windows network path) from my html. I tried many variations in anchor tag like, 1. link 2. link 3.
Gagandeep Singh
  • 5,755
  • 4
  • 41
  • 60
1
vote
1 answer

Convert Windows/MacOS links and share them with colleagues

Is there an easy solution for Windows/MacOS link conversion to share links with colleagues? I have a windows link for e.g.: \\networkshare\folder\subfolder and i want to convert to: smb://networkshare/folder/subfolder It is very annoying to…
sven4321
  • 29
  • 3