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

ant build fails when on mapped drive with VPN connection

I have the following part in one of my build xmls. - called "common.xml" This comes from the common library in the company, so many projects share this same construct.
Dima R.
  • 995
  • 2
  • 14
  • 25
0
votes
0 answers

Conversion of Mapped drive path to UNC doesn't work in IIS

I am working on web application where we have some mapped drives. I want to get the UNC path from Mapped drive. I am using WNetGetConnection to get UNC path. It works perfectly when i run it from visual studio but it doesn't work when i check the…
user3733735
  • 71
  • 1
  • 6
0
votes
0 answers

C# resolving wrongly mapped network drive

The application I am building relies on access to a mapped network drive. Let's call it "P:\". For the sake of this question let's assume that all users have this drive mapped. All users can access this drive through windows explorer. All users…
0
votes
1 answer

Linux Symbolic link to Mapped Drive

I was wonder how I would be able to create a Symbolic link to a directory on a mapped drive? I have a Mac OS laptop and have a mapped drive pointing to a folder on a remote server which contains a folder called 'content'. I am able to access the…
Harvey Sembhi
  • 287
  • 1
  • 5
  • 13
0
votes
1 answer

Mapping/unmapping drives failing

I need to first map and then later unmap 2x drives using VB.NET. When mapping the drives, I also need to pass a username and password (as not all users have admin access). However, not only is the below not working (failing to map, so in turn…
David Gard
  • 11,225
  • 36
  • 115
  • 227
0
votes
0 answers

Using Mapped Network Drive in Windows 7 and 8

I have an application that I am updating from Windows XP-Vista to Windows 7 and 8. The application previously used a mapped network drive to allow users to run the application stored on a main computer's drive from remote lab computers on the same…
Dave
  • 169
  • 3
  • 7
0
votes
1 answer

VS2008 trying to create a new project from pre-existing C++ code on a mapped network drive

I have a bunch of source code checked out from a SVN repository, now living in a folder on a mapped network drive which happens to be a linux machine. We're using this as a build environment as it currently has the numerous libraries needed to build…
Smallgods
  • 237
  • 3
  • 13
0
votes
1 answer

Get Mapped Network Drives in Windows 8

As noted, I'm on a Windows 8 machine using Visual Studio 2012. I need to map/unmap network drives as well as get a list of all of the currently mapped drives. To map/unmap I'm using WNetAddConnection2A and WNetCancelConnection2A, respectively, via…
DawnMage77
  • 75
  • 1
  • 8
0
votes
4 answers

Control-M job not ending after .bat finishes

I have a .bat file that maps a network drive, runs an MS Access program then deletes the mapped drive and exits. When I run it through Control-M the .bat runs and finishes but the job in Control-M never ends. I have tried multiple things to end the…
peel
  • 45
  • 1
  • 3
  • 7
0
votes
1 answer

Batch file not working when running in the background - issue with substituted drive

I'll try to keep this short, without all the details of this batch file procedure. OS: Windows XP Action: Scheduled Task (background, I can't find a way to run it in the foreground) Problem: files not created on mapped drive. When the batch file is…
Starceaker
  • 631
  • 2
  • 5
  • 14
0
votes
6 answers

C# - Map Network drive from Web Service

We are working on a web service that has to run a 3rd party process that interacts with a mapped network drive. So we have to map this drive programmatically from the web service. I have already wrapped up WNetAddConnection2, etc. in a nicer class…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
0
votes
2 answers

Enumerating disconnected network drives - NTFS drive formats

I came across this excellent article that solves the problem of enumerating disconnected drives in C#: Mapped network drives cannot be listed in C# The problem is that it seems like this code will NOT include NTFS-formatted drives (only FAT) As I'm…
baruchl
  • 219
  • 2
  • 13
0
votes
3 answers

Can I run a powershell psexec call to run a batch file located on a mapped network drive?

From computer A, I want to call a batch file on Computer B. normally, I use psexec to do this. However, in this case, the batch file on computer B is located on a mapped network drive on computer B called "J:" Is there a way I can make a command…
user952342
  • 2,602
  • 7
  • 34
  • 54
0
votes
1 answer

How to copy a file from local hard drive to a mapped drive with password using cmd?

I am aware of the fact that this could be done more easily with copy and paste, but the point here is to use VBA to automate the process so some other people can just click a button and the file will be copied automatically. I have tried to use copy…
God_of_Thunder
  • 753
  • 3
  • 20
  • 46
-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 2 3
11
12