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

Inno Setup - {drive:src} is not returning mapped drive letter in Win7 and Win8

During Installation I am writing drive letter ({drive:src}) of source into {app}/userinfo.ini and {localappdata}/userinfo.ini files, which is working fine in WinXP and Vista but not in Win7 and Win8. In {app}/userinfo.ini it is always writing "C:"…
2
votes
2 answers

Ant move, copy tasks failing on mapped drives in jenkins

I have an ant file which has move and copy tasks. The source and destination locations are on the mapped network drive R:\. When I run them on the command prompt the build is successful but when I configure it as a job in Jenkins, the tasks are…
DDK
  • 1,032
  • 18
  • 39
2
votes
4 answers

In PowerShell, how can I determine the root of a drive (supposing it's a networked drive)

In PowerShell, even if it's possible to know if a drive is a network drive: see In PowerShell, how can I determine if the current drive is a networked drive or not? When I try to get the "root" of the drive, I get back the drive letter. The…
JJarava
  • 552
  • 10
  • 18
2
votes
3 answers

Connecting a mapped drive letter in Windows service

I'm writing a Windows service (Delphi XE2) that calls functions in a 3rd party COM library. The core of the COM library is quite old and requires that a drive letter is mapped to the location of its data files. It absolutely does not work with UNC…
Jonathan Wareham
  • 3,357
  • 7
  • 46
  • 82
2
votes
1 answer

Samba read speeds very slow through Explorer, but OK through Firefox

I have a file server running Ubuntu 12.04 and Samba 3.6.3. A Samba share is mapped to a drive on a Windows 8 machine. When copying a test file to a local drive (which is an SSD and not a bottleneck here), it is very slow when doing so through…
edanfalls
  • 440
  • 7
  • 15
2
votes
0 answers

how can I map a network drive using wmi

Possible Duplicate: Mount Network Drive with WMI I'm mapping a network drive using c#. I found code on the code project that works beautifully, but in the same application I've been using WMI to determine where an existing mapped drive is…
bixarrio
  • 373
  • 1
  • 10
1
vote
2 answers

ASP.NET - Copy files to mapped network drive

I am trying to copy a file from a location on the C drive to a mapped network drive (Z) which is \address\content\ However I am getting the following error message: System.UnauthorizedAccessException: Access to the path…
swade1987
  • 1,663
  • 5
  • 21
  • 28
1
vote
2 answers

Is there a way to search for a file on all available network shares using C#?

Is there a way to search for a file on all available network shares without actually giving the search any info on the names of the sharing machines? Here's what I'm trying to do. In a servers shared folder I have a configuration file that…
JimDel
  • 4,309
  • 11
  • 54
  • 99
1
vote
1 answer

How detect if mapped network drive is disconnected using IShellFolder?

I am using the IShellFolder interface to enumermate the Shell namespace objects. Doing this I am getting my mapped network drives, of which some are connected and available and others are not. I would to know how I can detect whether or not a…
Elan
  • 6,084
  • 12
  • 64
  • 84
1
vote
1 answer

System.IO.DirectoryNotFoundException: Could not find a part of the path

I have 1 service app(asp.net) that will upload txt file. I would like to upload the file to network share drive. example of network mapped drive: Z:\HR\hr\t\clock. If i run the web page throught visual web developer, it can successfully save the…
user1129492
  • 11
  • 1
  • 2
1
vote
2 answers

Deployment project fails to install with MSI error 1305

I have a deployment project built with Visual Studio 2008 that fails to install. It's using the default GUI. The error occurs when it transitions to the Progress page. The GUI error message is: Error reading from file…
1
vote
1 answer

Using PowerShell 5.1 on Windows 10, I successfully map a drive, but it doesn't when running by Scheduled Task

The below code successfully create a mapped drive on Windows 10 and 11. Running the script from Task Scheduler doesn't work. The task has been configured to run As System and I have tried the same admin account that is logged on as well. Task has…
Amos
  • 37
  • 4
1
vote
0 answers

Does running a jupyter notebook on a mapped network drive make it run slower?

I have very large files stored on a mapped network drive on my Windows 10 computer. I can open a Jupyter notebook and run calculations on these files by providing the full path to the files. However, after performing the calculations, I need to…
1
vote
1 answer

How can you replace multiple UNC paths of mapped drives via registry using PowerShell?

Our servers team has implemented a DFS, but users across the company still have drives mapped using the server name(s) at various sites. I'd like to push out a PS script that updates a SINGLE registry value (per drive). My goal is to look through…
aceventura
  • 21
  • 3
1
vote
1 answer

WinSCP - Download file from SFTP server to network location, then delete

I need to write a WinSCP script or batch file that will download the contents of a remote SFTP folder, delete contents and then upload to a mapped network folder. I know how to write the login part of the script. But I am confused as to what the…
jason_je_bum
  • 45
  • 1
  • 5