Questions tagged [mapped-drive]

Association of a drive letter (A through Z) with a remote storage in Microsoft Windows and OS/2

From wikipedia:

Drive mapping is how Microsoft Windows and OS/2 associate a local drive letter (A through Z) with a shared storage area to another computer over a network.

169 questions
0
votes
0 answers

Use mapped drive or shared folder with IIS Express

I'm trying to setup a dev environment for an asp.net (umbraco) project using IIS Express on a mac. I have a VM with windows installed with the dev tools. My goal is to only use the VM as a compiler but actually write the code on the mac. To do that…
Isak dl
  • 448
  • 3
  • 13
0
votes
0 answers

How are files on network mapped drives handled locally by a windows host?

This is by no means a "give me the solution" question, but more to gain a higher understanding. Please feel free to point to references where I can learn more about this, I've tried searching and all I get are how to's for setting up and accessing…
Den
  • 1
0
votes
0 answers

Mapped Drive of windows is not accessible via 3rd party software named IGC of OpenText

I am trying to solve the problem of long path which is greater than 260 characters. I am using a 3rd party product namely IGC(Informative Graphics Corporation) of OpenText. For the solution, I am using mapped drive of windows so that my long path…
0
votes
2 answers

C# move file with 2 mapped drives

I need to move a file existing on a mapped folder named A:\ to another mapped folder B:\ using the code below File.Move(@"A:\file.txt",@"B:\"); it return the error below Could not find file 'A:\file.txt'. i tried to open A:\file.txt in folder…
Malo
  • 1,232
  • 2
  • 17
  • 28
0
votes
1 answer

Check it network drive is connected as a Windows service

I'm using Directory.Exists() to check if a network/mapped drive is currently connected. I'm using the UNC Path which I get by reading the system's registry. This works perfectly fine if I run my code through Visual Studio (it tells me that…
Roka545
  • 3,404
  • 20
  • 62
  • 106
0
votes
2 answers

Get a list of mapped drives as a Windows service.

I'm trying to get a list of mapped drives on my machine as a Windows service. I can get a proper list if I run my code as a normal program, but not as a Windows service. I've seen several posts regarding this topic but none give a clear…
Roka545
  • 3,404
  • 20
  • 62
  • 106
0
votes
1 answer

Can't read/write to Azure Files share from my .Net code

I wrote a service running in an Azure Windows Server 2016 VM. When it gets a job from the queue it spawns another program which generates a PDF and saves it to disk. I am reading config files and saving HTML files (which are converted to PDF using a…
Brad Mathews
  • 1,567
  • 2
  • 23
  • 45
0
votes
1 answer

Unable to get the associated network UNC of a mapped drive C/C++

Have written a DLL that attempts to convert a mapped drive to its equivalent network UNC. But it fails when DLL is called by setup program running as an elevated process. As a potential fix I modified the example source offered by @RbMn from an…
0
votes
0 answers

Cannot open mapped network drive file PHP

I am trying to load a file from a mapped network drive on Windows Server 2008. The mapped drive is S:\ and the file is conqueror.mdb. I am using the IP address I am seeing in File Explorer but it still says it cannot find the file. $dbName =…
626
  • 1,159
  • 2
  • 16
  • 27
0
votes
0 answers

Mapped drives without letter in registry

I have a problem with finding all mapped drives on remote computer from my c# code. I can find drives in registry (HKEY_USERS\< USER >\Network). Each subkey named "$X" (where "$X" is letter) responds to mapped disk named "$X" for < USER >. But how…
Jac Mos
  • 7,746
  • 4
  • 15
  • 21
0
votes
2 answers

FileSystemWatcher.Path Exception for Network Shared Drive

im using FileSystemWatcher object to retreive files from a folder. The code works good for local machine drives/folders but throws exception when i use a NETWORK Path. For some reason the code do not throw an exception if i start the service in…
Benjamin Martin
  • 576
  • 1
  • 8
  • 27
0
votes
1 answer

How to get Do-While Loop to work in network based PowerShell script?

Thank you to all who help me figure out what is going on. The code I am using searches for the response for hog breeds and validates the response isn't garbage. If it's garbage the do loop repeats or exits based on response. #Get the location of…
RadFox
  • 419
  • 1
  • 4
  • 17
0
votes
1 answer

Running backup batch file in the task scheduler doesn't work saving to mapped drive

I am having some problem running backup batch file in the task scheduler. I am running it with Run whether user is logged on or not saving to mapped drive. But when I run the batch file itself it worked.
A. Ray
  • 1
  • 3
0
votes
2 answers

Create and Read file on Mapped drive C#

I am trying to create a file on the mapped drive but it is giving me an error : Could not find a part of the path 'Y:\\score\\' where 'Y' is the mapped drive. There is a folder score in y drive and it has read and write permissions too. Here is my…
Vishal
  • 604
  • 1
  • 12
  • 25
0
votes
1 answer

Mapped drive letters immediately available?

I am using this to map a drive letter in PowerShell v2, and it works in that the drive letter shows up and is usable in Explorer. $Network = New-Object -ComObject "Wscript.Network" $Network.MapNetworkDrive($drive.name, $drive.value, $true) However,…
Gordon
  • 6,257
  • 6
  • 36
  • 89