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

copy file from a remote PC by means of Powershell using UNC path

I need a way to copy file from a remote PC to local disk using Powershell v2.0 trying with admin rights of that remote PC. We can copy a file by means of below cmdlet: Copy-Item -Path C:\somefile.txt -Destination c:\someotherfile.txt But my…
Nani
  • 1,148
  • 3
  • 20
  • 35
-2
votes
1 answer

Invalid UNC path into shortcut - Windows

I have to create a shortcut for someone to point and launch an application remotely from a server. The original shortcut has a UNC path in the target and start in boxes, I need to change the UNC path but it keeps saying the path is invalid and it…
Drekko
  • 69
  • 2
  • 9
-2
votes
1 answer

Only with certain users: UNC paths are not supported Defaulting to windows directory

I have a batch file, whose purpose is to copy a directory from a network location and place it in the C: location of the user's system if it doesn't already exist. The problem is when the main user attempts this, the above message is displayed and…
gray_matter16
  • 15
  • 1
  • 7
-2
votes
1 answer

Click a button - open a UNC path

I have an ASP.NET web form with a button on it. When I click the button I want to open a UNC path. I have created the event handler and placed the following code in it: Process.Start(new ProcessStartInfo { FileName =…
-2
votes
1 answer

Mass file copy to domain computers

I am trying to take a screen saver file I've made and copy it to all of our desktops and laptops \system32 folder. I created a computers text file and found this script, but I keep getting this error. Any help would be appreciated. Running this in…
EricCC
  • 1
  • 1
-2
votes
2 answers

Browse Network UNC path

I have a small form app that I wont to browse for network UNC path to then copy a folder im getting the error Cannot convert method group 'GetType' to non-delegate type 'System.Type'. Did you intend to invoke the method? on this code line Type type…
Zen
  • 29
  • 1
  • 1
  • 6
-3
votes
1 answer

How to map a UNC name to an external drive when the drive letter is variable?

I have an external drive. When I plug it in, sometimes it comes up as d: and sometimes as e:. I presume depending on whether I've plugged anything else in lately, like a USB drive, but whatever. I would like to have a fixed name to files on this…
Jay
  • 26,876
  • 10
  • 61
  • 112
-4
votes
1 answer

SQL Server database on UNC share

I have two machines running a C#.net windows forms application each. I want them both to connect to a single SQL Server database which is in one of the machines. And I like both applications to work with that one single database. But Unfortunately…
Sannan Khan
  • 39
  • 1
  • 9
1 2 3
39
40