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
0 answers

sharepoint 2013 unc access anonymous without credentials

I have installed SharePoint foundation 2013 on a Windows 2008. I have successfully set the web auth to be anonymous but the problem is when i try to access with UNC path. For example I'm trying to access it from another PC in the same domain but it…
2
votes
1 answer

List folders and files in a UNC root folder

I am trying to get folders and files from the root of a UNC path name. I am using Get-ChildItem. I can get results from a subfolder via the UNC path, but not the root folder. If run the command Get-ChildItem \\sf1\user1 from the command line,…
Kevin
  • 21
  • 1
  • 3
2
votes
1 answer

using regasm for an framework 4.0 assembly located on UNC share

I am trying to register a .Net 4.0 compiled binary using regasm utillity. This ComInterOp assemply has to be deployed on a network share, and trying to register from the share fails with the error "Cound not load file or assembly or one of the…
user391053
  • 21
  • 1
  • 3
2
votes
1 answer

Getting around a UNC path error

I'm trying to run a batch file off of a Server in an R script. shell(shQuote(paste("\\\\SERVER\\Folder1\\Folder2\\File.bat", var1, var2), "cmd")) However, "I get a UNC paths are not supported" error. I believe there is something about how I need to…
JohnN
  • 968
  • 4
  • 13
  • 35
2
votes
2 answers

vba fso file exists works with mapped drive letter but doesn't work with unc path

I've used fso.FileExists(fullfilepath) many times before, but always with mapped drive letters. I have the reference to Microsoft Scripting Runtime. In my new situation, many people map the same drive letter to different paths, so I want to use the…
CompanionCube
  • 71
  • 1
  • 2
  • 7
2
votes
1 answer

UNC paths (\\machine\share) are not supported

I have been struggling with the following error for 2 days now ERROR: UNC paths (\\machine\share) are not supported. and have finally come across something that got plenty of up-votes here. The poster mentions using pushd and popd to map to a free…
Fizor
  • 1,480
  • 1
  • 16
  • 31
2
votes
1 answer

File exists but returns "The system cannot find file specified" when using UNC path

I'm using PHP to check if a file exists and then get it's size. The code worked great before but now that we're using a UNC path I can check that the path exists with file(exists($filename)) but when I try running exec("getsize" . $filename, $out);…
mario
  • 1,503
  • 4
  • 22
  • 42
2
votes
0 answers

Windows service access to UNC path

I have a windows service written in C# running on Windows Server 2012. The service is running as a domain user with permissions on the local machine and NTFS permissions to shared network resources can access shared files and directories in Windows…
Sridevi
  • 121
  • 3
  • 12
2
votes
1 answer

What is a minimal valid UNC path?

I want to make a library that (among other things) parses UNC paths, but I don't fully understand the grammar. Common example is: \\server\share\path Are all of those required for a valid file path? I can navigate to \\server (without share) using…
Andrey Shchekin
  • 21,101
  • 19
  • 94
  • 162
2
votes
2 answers

Is it possible to save files to a network path?

I was wondering if it would be possible to write a file, not to the local system, but to a connected server or other network path. Would I have to use an external interface for this or can I entrust this to the AIR framework? I'm pretty sure that…
tommy
  • 39
  • 8
2
votes
2 answers

Local path from shared path: Powershell

How to find the local path of a shared path. My shared path is \\somemachine\shared\scripts\testing Its local path is D:\myshares\scripts\testing Thanks!
Pradebban Raja
  • 443
  • 5
  • 20
2
votes
2 answers

Querying access to a UNC path on a remote machine via WMI

I want to find out if the remote host has r/w access to a network share. To start out I wanted to see if I could query the target host's ability to query the UNC path for info, ala var query = string.Format("select * from CIM_Directory where name =…
Zoinks
  • 361
  • 1
  • 2
  • 11
2
votes
1 answer

Can not scan a directory in another server

I have stuck with this problem from the morning, I want to scan a directory on another server \\\\TARIK3\Paretanires\SGM\recv but I have this problem : Warning: scandir(\TARIK3\Partenaires\SGM\recv,\TARIK3\Partenaires\SGM\recv): in…
2
votes
1 answer

Copy file between two UNC paths C# Windows.Forms problems

I am trying to copy a file between two UNC paths to which I have full access. The root of each UNC is a different physical drive. I can use file explorer to copy the file with no problem. string file1 = @"\\node\disk1\dir\file.jpg"; string file2 =…
RichardB
  • 31
  • 4
2
votes
1 answer

Gradle project refresh failed on domain connected computer

I have installed Android Studio 0.5.6 on a Domain Connected Computer and I have set the .gradle and .AndroidStudioPreview folders to C:\Users\Dan\ by editing idea.properties and setting gradle Service Directory Path in settings. The problem is I…
Dan
  • 35
  • 6