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

need a c# regex to get servername out of UNC

I screwed up my last post. Lets see if I can get this one right.. Would anyone be able to tell me how to pull the server name out of a UNC? (I'm looking for a regex) this is the string I want to pull the servername…
KevinDeus
  • 11,988
  • 20
  • 65
  • 97
0
votes
1 answer

Google Mini Crawling a SharePoint UNC Path

I inherited a Google Mini and am trying to work around the limitation of not being able to index SharePoint (2003) natively. I can map a UNC path to a site's Shared Documents folder in Windows or Mac OS X, but I am stuck somewhere with the Mini. Or…
ckoerner
  • 51
  • 2
  • 6
0
votes
1 answer

Unable to delete file from UNC path

I wanted to have an application remove a targeted file from specified worksations. The user executing the software would be an admin on the target machine so I used the following code for a test: string strTarget = @"\\" + textBox1.Text +…
ChargerIIC
  • 1,620
  • 1
  • 33
  • 47
-1
votes
0 answers

Batch to copy latest file from network location to another network location and rename

I'm trying to copy the latest file in one network location to another network location and rename the file. The source path is \test\BI\reports\2023 The destination path is \PM\test\reports the destination file name is BI-1234_wPC.xls I used the…
cperez
  • 1
-1
votes
1 answer

How to get the serial number of UNC Drive Without API calling

For security reasons I want my workbook can only be used if it is on a network. This network sometimes is mapped by users with different Letters. I would like to find a way to get the serial number of the network drive based on the UNC path instead…
Luthius
  • 1
  • 5
-1
votes
1 answer

C# - Compare UNC paths

Is there a easy way to compare UNC paths for equality? Such as \\server\share being equal to \\server.domain.com\share?
Matt
  • 774
  • 1
  • 10
  • 28
-1
votes
1 answer

Accessing Files from UNC Network Path in C# Application

I have a desktop application in which the user is able to specify the input and output directories.Things work fine for local directories;but people have started complaining about network locations accessed using UNC Naming Conventions. If the user…
techno
  • 6,100
  • 16
  • 86
  • 192
-1
votes
3 answers

Copy files from UNC path to C:\ and Program files (x86) folder within a remotly generated New-PSSession

I am writing a script, that creates a new VM, connects to it via New-PSSession and runs serveral Commands to alter a few settings and copy folders from a UNC path to the local C: and C:\Program files (x86). Everything works fine expect the copy part…
Kuroda
  • 1
  • 1
  • 2
-1
votes
2 answers

Directory.Exists for remote folder returns false after folder was just created

I have applications on servers "A" and "B" (both have Windows Server 2012). Application on "A" creates folder locally. Just after that creation application on "B" checks if folder exists by remote path on server "A". Application on "B" gets false…
-1
votes
3 answers

Java Files.walkFileTree with UNC Path

I am trying to recursively list a directory under a UNC Path. My code works with regular local directories. I have tried many uri formats and many API call combinations ie. String url =…
-1
votes
1 answer

\\?\UNC\server\share\path\file.exe not working

I'm working in a project that stores files with very long paths. I need to use network paths such as \\server\share\files.. paths. But I cannot figure out why its not working. I'm running Win7 \\server\share\path\file.exe ( This works but not for…
graN
  • 34
  • 6
-1
votes
1 answer

Preserve mapped drive letter information during UAC elevation

We have an application that needs to know the path that it is executed from (which is always a network path). We set up part of our configuration based on the path that the application is launched from, and we really want that configuration to use…
Kevin Day
  • 16,067
  • 8
  • 44
  • 68
-1
votes
2 answers

How to save/copy file in php script between two windows servers with authorization?

I want to copy/save file in php script from one Windows Server (source) to second Windows Server (dist). I cant use anonymous "Guest" account, I need to authorize on dist server by user and pass. Have you any idea how to do this? I tried to to this…
Adiasz
  • 1,624
  • 1
  • 12
  • 21
-1
votes
1 answer

Remote access of client machine using SmbFile

I can access the client drive if they have admin rights using the below code (can create and write files) but what if the client machine does not have admin rights, how to access their machine drive using below code? public static void main(String[]…
pise
  • 849
  • 6
  • 24
  • 51
-1
votes
1 answer

Can't access Windows 2000 UNC path anymore

For a long time, we've been able to access our Windows 2000 server using this method: \10.0.0.18\d$ (typed in winexplorer) ... and here we enter an adminusers username/password and gain access.. But all of a sudden, we can no longer access it.…
Jørgen Eide
  • 129
  • 1
  • 1
  • 7
1 2 3
39
40