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
6
votes
1 answer

How I can create and remove a network drive from Inno Setup?

I'm writing a Inno Setup script which need to execute a very old third party setup application, this old installer (called setup.exe) only works from a root folder (if not fails), so I need to create (and remove) a network drive to copy the files of…
Salvador
  • 16,132
  • 33
  • 143
  • 245
6
votes
1 answer

Is there a way to tell if a mapped drive was mapped as an Administrator or Standard User With C#?

As I understand it, a mapped drive isn't available to a standard user when it was created by an administrator and vice versa. Is there a way to tell programatically how the drive was mapped? By an Admin or by a standard user? I know about the…
JimDel
  • 4,309
  • 11
  • 54
  • 99
5
votes
1 answer

How to find out the name of the common documents folder on a network machine

Given that I am executing an EXE file (D2006 app) on a machine across the network, how can I get the pathname to the commondocs folder on that machine, given that the EXE might have been invoked from a UNC shortcut or a mapped drive letter shortcut,…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
5
votes
2 answers

PowerShell Invoke-Expression command parameter contains comma

What should I do when a password contains PowerShell special characters? Invoke-Expression -Command "net use x: $Path /USER:domain1\user1 7Ui4RT,@T /persistent:no" This fails on syntax -- because PowerShell interprets 7Ui4RT,@T as an…
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
4
votes
4 answers

recover disconnected mapped drive

Is there anyway to recover a mapped drive that was disconnected without knowing the server address or name? I do not want to browse through over 85 server ips to find the correct one.
vbNewbie
  • 3,291
  • 15
  • 71
  • 155
4
votes
1 answer

How to map a AWS S3 bucket as a mapped drive (Network Drive) in windows server 2016

I would like to use S3 bucket as a real-time file store and I wanted to upload/download large files to S3 from my Windows server 2016 frequently. Is there any option to mount an S3 bucket with windows EC2 instance without using third party paid…
4
votes
2 answers

How to do replicate Window's subst command in Python?

I am trying to map a virtual drive on my windows setup one of the tools I am using does not like the spaces in the filenames. On the command line, I would do the following subst l: "c:\Program Files\Complier\version 6.0\bin" I tried to replicate…
tehnyit
  • 1,152
  • 1
  • 9
  • 16
3
votes
1 answer

Get UNC path from mapped drive-letter after impersonation

If I call function WNetGetUniversalName() to get UNC path from drive mapped in current session, the function succeeds. But... If I create a new logon sesssion by calling LogonUser() (The logon user is same as the process creator) Impersonate with…
Jatin Sanghvi
  • 1,928
  • 1
  • 22
  • 33
3
votes
1 answer

Programmatically get the full path of a shared folder on another computer?

I know that you can get the path to a mapped drive (e.g. Find UNC path of a network drive?), but what if the only thing I have is just the path to the shared folder? For example, let's say I have a friend who is sharing the folder…
SaiyanGirl
  • 16,376
  • 11
  • 41
  • 57
3
votes
0 answers

Eclipse mapped network drives gone/not found

since I couldn't find a relevant topic on this... Eclipse doesn't find my mapped network drives anymore. I can access them through explorer, but Eclipse seems unable to connect/recognize them: they just appear to be absent in Eclipse.
Len
  • 131
  • 1
  • 6
3
votes
2 answers

Populate list of Drives Available for Mapping

My application needs to populate a combobox with the list of Drive Letters that are available for mapping. DriveInfo class gives me the list of all drive names in the sytem. I am wondering if there is an api which exposes the list of drives that are…
battech
  • 803
  • 2
  • 13
  • 25
3
votes
0 answers

Windows Service failing to access mapped network drive

My C# based Wcf application hosted as windows service is unable to access mapped network drive even though it works with UNC path. I have come across the below article which states that it is not possible to use mapped drives with windows service.…
battech
  • 803
  • 2
  • 13
  • 25
3
votes
3 answers

Mapped Network Drives

I have mapped a network drive to a computer in my home network. Now I am trying to access it via PHP - I did this quick test: echo opendir('Z:\\'); This gives me: Warning: opendir(Z:\) [function.opendir]: failed to open dir: No error in…
Abs
  • 56,052
  • 101
  • 275
  • 409
3
votes
4 answers

SUBST and console app vs. windows service

I have used SUBST command to create mapped drive to a certain folder. In a console application I can access the directory, while I cant access the same directory in a windows service application. In other words the following line returns…
ala
  • 7,070
  • 13
  • 47
  • 54
3
votes
1 answer

Custom authentication when mapping network drive - is this possible?

I've got a virtual directory set up in my web site in IIS 7.5 that users can map a network drive to. What I'd like to do is set up some sort of custom authentication where the user chooses "connect with different credentials" when they map the…
lhan
  • 4,585
  • 11
  • 60
  • 105
1
2
3
11 12