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
0
votes
1 answer

How to resolve UNC file issue in SSIS

I was trying to import an xls file on UNC folder using SSIS and got the below error: [File System Task] Error: An error occurred with the following error message: "The specified path, file name, or both are too long. The fully qualified file name…
user1254579
  • 3,901
  • 21
  • 65
  • 104
0
votes
1 answer

Eclipse and SVN project on a Windows network drive

Configuration: Eclipse Kepler on Windows 7 Professional Subclipse 1.10.2 (org.tigris.subversion.subclipse.feature.group) Subversion Client Adapter 1.10.0 (org.tigris.subversion.clientadapter.feature.feature.group) Subversion JavaHL NLA 1.8.3…
LSerni
  • 55,617
  • 10
  • 65
  • 107
0
votes
1 answer

C# write an uploaded file to a UNC with FileStream, read it later sometimes doesn't work

I've got a rare case where a file cannot be read from a UNC path immediately after it was written. Here's the workflow: plupload sends a large file in chunks to a WebAPI method Method writes the chunks to a UNC path (a storage server). This loops…
Morgan T.
  • 1,937
  • 1
  • 17
  • 20
0
votes
0 answers

Why can't windbg access network drive?

I am trying to analyze a crash dump on my test machine, which has my working drive (source code and output) on my development machine mapped to the p: drive. What is causing windbg to not be able to load symbols from my p: drive? kd> !sym noisy kd>…
Philip
  • 4,128
  • 5
  • 31
  • 49
0
votes
1 answer

Matlab loadlibrary call, using a network file?

On Windows, Matlab's loadlibrary appears to expect a library located on a mapped drive. What if I want to load a library on a network file share, and in order to make my script useable by many people, I don't want to have to assume that they have…
John
  • 5,735
  • 3
  • 46
  • 62
0
votes
3 answers

SautinSoft HTML-to-RTF and UNC Paths

Has anybody successfully used the SautinSoft HTML to RTF DLL which has images with a UNC path? When we use the component to transform a HTML document with images whose src attribute is pointing to a UNC path the resulting RTF document has the…
Robert W
  • 2,921
  • 7
  • 34
  • 42
0
votes
1 answer

C# -Connect unc path with credentials

I have a UNC folder added in my machine using "Add Network Places" option in "My Network Places" (XP). I need to select the specific unc folder through my C# "folderBrowser Dialogue." However,as unc path is password protected. While selecting the…
Anees
  • 885
  • 4
  • 13
  • 31
0
votes
1 answer

Save files to unmapped drive vb.net

I have an app that saves xls and pdf files to a drive. We need this drive to be non-accessible by users here because we don't want anyone adding files or deleting files from this drive by hand. We're considering leaving the drive unmapped on users'…
Eric J
  • 227
  • 5
  • 16
0
votes
1 answer

Batch, UNC Paths, Delim _ remove trailing path

Looking for a little help, i have a text file containing UNC paths, all paths have a specific delim i can use to find where the path should end (so i can mount the parent UNC path as a drive) Example text file…
0
votes
2 answers

Get local path from a UNC path

Below code returns local path from a UNC path. strPath = "\\pc100\d" strPath = Replace(strPath, "\\", "") arrPath = Split(strPath, "\") strComputer = arrPath(0) strShare = arrPath(1) Wscript.Echo strComputer Wscript.Echo strShare Set…
IT researcher
  • 3,274
  • 17
  • 79
  • 143
0
votes
1 answer

Findstr on remoteserver unsuccessful

I am trying to run this .bat script set target_path =\\remoteserver\c$\newfolder\newfolder1\logs >log.txt findstr /m "ERROR" "%target_path%\file1.txt" >> log.txt The expected output from this .bat file is that it will pick up "ERROR" string…
ankit
  • 1
0
votes
0 answers

Using UNC path with psexec does not work in remote connection

Hi I am trying to open a setup file in serverB in serverA that I am connecting to remotely. When I use the UNC path for folder in serverB the error message states that the network path is not found. I know that there is some security layer that is…
BKoo
  • 95
  • 3
  • 13
0
votes
1 answer

Using UNC path to retrieve a folder's groups and users

I have been set a task to allow a user to enter a UNC path (i.e. \\bla.org.dom\temp\test\lowest) and from the lowest folder to the highest, construct a list of groups and users that have read/write permissions on each folder. I have spent quite…
John Langan
  • 51
  • 1
  • 6
0
votes
0 answers

DirectoryInfo.Exists Returns false with UNC path

Well, I have an application which is on a non-domain tablet. On start the application shells commands the proper creds to a network unc path Shell("net use \\mypath\destloca password username") this command is correct and does what it is suppose…
eBlack
  • 7
  • 5
0
votes
5 answers

Replace the ServerName in a UNC Path

I want to write a method to swap out the server name in a UNC path. So if I have "\\server1\folder\child" I want to swap in "\\server2\folder\child". Various attempts to do this have run into jagged edges with .net's handling of backslashes…
peacedog
  • 1,415
  • 20
  • 32