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
3
votes
2 answers

PHP in WAMP can not access mapped drive

Relative: Mapped Network Drives Service not able to access a mapped drive PHP is_dir and mkdir not working on mapped network drive I know this is very old-school, but I just can't figure it out... On a Windows 2003 with wamp (apache 2.2, PHP 5.3.10)…
Passerby
  • 9,715
  • 2
  • 33
  • 50
2
votes
0 answers

Can't access a mounted network share drive with python cgi scripting, works fine with local drives

I wrote a script with CGI and python, which accepts a folder path and then does some processing on the files inside.. The problem is this fails if the path is a network share mapped drive.. I read in many of the related queries that windows service…
asmicapri
  • 83
  • 6
2
votes
3 answers

Mapping a network drive and checking for its existence in VBScript

I need to map a network drive into a network path using VBScript. The network path is read directly from input. How should I map the network drive and how to check whether the entered network path already exists?
Maxim Terk
  • 71
  • 1
  • 2
  • 3
2
votes
2 answers

My file is not being created in the mapped drive when I try to create it using progress 4gl

I mapped a drive and tried to generate a text file through progress 4gl in that mapped drive. But file was not generated in that mapped drive. When I tried to generate the same file in a local drive then it was generated successfully. Can someone…
2
votes
2 answers

CAS not working for VS2010 mapped drive

I have a project using subsonic that I developed in Visual Studio 2008 on C: drive. No problem there. I've just upgraded to Visual Studio 2010 (and as my computer coincidentally died, I'm now running Windows XP virtualised with VirtualBox). The…
Ben McIntyre
  • 1,972
  • 17
  • 28
2
votes
2 answers

How to access mapped network drive from java application?

I have a network drive mapped as: net use h: \ip\servername I have a normal java application that is going to read a txt file from that drive. Code: File file = new File("H:\\MyFile.txt"); try { byte[] bytes =…
2
votes
0 answers

SocketException: Invalid argument: create when jre locate on mapped drive

I have an application that tries to connect to a REST server with HttpClient in Java. This is the connection code: HttpClient httpClient = HttpClientBuilder.create().build(); // Create new getRequest with below mentioned URL HttpGet getRequest =…
kfir
  • 732
  • 10
  • 22
2
votes
3 answers

VB6: how to reconnect disconnected mapped drives programmatically

My VB6 program relies on data being on a network share. Win XP on a wireless network often cannot reconnect mapped drives at startup so they are in a disconnected state. The only way to reconnect them is to double-click on them in Explorer. How…
Craig Johnston
  • 7,467
  • 16
  • 40
  • 47
2
votes
0 answers

Issue mapping a network location with vb script

We have a strange issue when mapping a SharePoint 2013 WebDAV location to Windows 10 Network Locations. We map these locations with a VB script: dim SecurityGroup(1) dim OneDriveName,…
OutOfThisPlanet
  • 336
  • 3
  • 17
2
votes
2 answers

How to exclude mapped network drives from QFileSystemModel in QT?

I'm using a custom subclass QFileSystemModel in a treeview to allow users to select folders using checkboxes. My problem is that Mapped network drives are listed as hard drives, but I cannot operate on them, So I want to only show local drives. How…
ShayanOH
  • 132
  • 1
  • 10
2
votes
0 answers

PHP - Correct path but broken image on mapped drive

I have this PHP code to access mapped drive Z: $mapped = "\\\\192.168.0.xxx\\Shared"; system('net use Z: "$mapped" @Password /user:Username /persistent:no'); Then I check if the photo exists on the mapped drive: $pic_path =…
Jorz
  • 358
  • 5
  • 22
2
votes
2 answers

Can I programmatically find out if a drive is in use?

Is there any way of programmatically finding out if a mapped drive is currently in use? If I try to unmount the drive with net use, and the drive is being used, it will tell me that the drive is in use and prompt me to take further action. I'd like…
Geo
  • 93,257
  • 117
  • 344
  • 520
2
votes
3 answers

Accessing mapped drives when impersonating in ASP.NET

Short version: Is it possible or not to use impersonation in ASP.NET to access mapped drives? Long Version: I'm currently using impersonation in ASP.NET to gain access to network files. This is working perfectly for any network file using a UNC…
adamjcooper
  • 1,131
  • 12
  • 24
2
votes
3 answers

Batch Scripting - Wait until network Established

I have logon.bat script that runs each time a user logs into their workstation of an Active Directory domain. This script maps some network drives with commands like this: net use x: \\192.168.0.2\share1 net use y: \\192.168.0.3\share2 net use z:…
2
votes
1 answer

Force win8 to freshen a mapped drive

I have a NAS on my home network and it is mapped as drive K:. Sometimes the NAS is not ready as win starts up and the drive shows with red-"X" in File Explorer. If I click the drive with the X showing, it instantly displays the Folders, suggesting…
user2175495
1 2
3
11 12