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
1
vote
1 answer

Powershell Map Network Drive, write file to it but Notepad fails to find file

My Powershell script: New-PSDrive -Name J -Root \\myserver\mypath -PSProvider FileSystem "test" | Out-File J:\test.txt Get-Content -Path J:\test.txt notepad J:\test.txt J drive maps ok, the file gets created, Get-Content can read it BUT notepad (or…
1
vote
1 answer

Python2.7, mkdir question. throw error : [WindowsError: [Error 3] : 'Y:\\'], but the path exists in PC

Code is simple as follows: os.mkdir("Y:\\DirName") throw error: WindowsError: [Error 3] : 'Y:\\' Error is "Y:\\", not "Y:\\DirName". Y not a local disk, is a Network disk mapping. Use the Windows command 'mkdir' to succeed. Y drive can be…
p_pPast
  • 63
  • 5
1
vote
1 answer

Wix installer - Issues installing to a mapped network drive

I have an issue while trying to install to a mapped network drive. I have permissions to create, edit, delete files/folders at this location. It is always for this particular file abc.xslt This is the what the wix log tell me: MSI (s) (48:9C)…
1
vote
0 answers

Cannot create permanent mapped network drive that can be access through File Explorer from host Powershell Invoke-command

I was trying to create a mapped network drive in my Windows 10 Hyper-V VM through an "Invoke-Command" from my host. PS C:\Users\YChan14\Desktop> $session = New-PSSession -VMName "Win10" -Credential $mycreds -Name "NetworkDriveMapping" PS…
terryxychan
  • 23
  • 1
  • 5
1
vote
0 answers

Install4j installer doesn't see mapped drive when it's bundled with another installer

I'm having this weird issue where my install4j generated installer doesn't detect my mapped drives in Windows. I believe that this has to do with some elevated privileges settings, but I can't seem to figure out where the problem might be. My…
DR3AMR2
  • 31
  • 3
1
vote
2 answers

How to map a Folder to a Table in SQL Server 2008?

I am using SQL Server 2008. I have a table (TBL_FILE) that stores user uploaded files in binary column. However users do not want to open our system to access the file. They want to have a folder (network drive, Web folder, local drive, local…
Alex Yeung
  • 2,495
  • 7
  • 31
  • 48
1
vote
1 answer

Get-Childitem cannot find drive. A drive with the name 'X' does not exist

I'm writing a script to copy files with powershell using mapped drives in file explorer. It has the above error message. This is what it looks like: function CopyFileToFolderUNC($SourcePath, $DestinationPath){ $temp1 = Get-ChildItem -Path…
Michele
  • 3,617
  • 12
  • 47
  • 81
1
vote
1 answer

Writing a text file to a mapped drive results in an error - "Could not find a part of the path"

I have mapped network path (\fileserver\myfolder\dev) to "N:" drive using user "abc" Writing a file to drive using path "N:" My IIS is running under application pass through. It's working in local but when I deploy it to DEV server it's not…
AK47
  • 3,707
  • 3
  • 17
  • 36
1
vote
0 answers

How do I fix git fsync errors when checking out code on mapped network drives

I have a Jenkins job that checks out git code to a mapped network file share so that multiple executors can work on and test code in parallel. I would estimate that a good 90% of the time everything is wonderful and works and then seemingly out of…
Slushba132
  • 423
  • 2
  • 5
  • 20
1
vote
0 answers

Can't connect to mapped drive in GetFolder for FileSystemObject ASP Classic

I am trying to connect to R:\database\attendanceData\ a mapped drive to be used in the following code sDir = "R:\database\attendanceData\" Set fso = Server.CreateObject("Scripting.FileSystemObject") Set obj_FolderBase = fso.GetFolder(sDir) if…
Hanz Cheah
  • 761
  • 5
  • 15
  • 44
1
vote
2 answers

C++ Program cannot see mapped drives

I am coding an unmanaged C++ console application on Windows 7 using Visual Studio 2010. I ran into an issue where files on my local computer or a network location work fine, but my code can't see anything on a mapped drive. I can simply this issue…
Brad
  • 1,360
  • 4
  • 18
  • 27
1
vote
1 answer

WIX: Run msi from mapped network drive

I've created msi package with deferred Custom Action: This CA…
Hila
  • 291
  • 1
  • 2
  • 9
1
vote
1 answer

Mapping network drive using WNetAddConnection2 from "Run As Administrator" process does not work

I have an application which calls WNetAddConnection2 to map a network drive. This works perfectly unless I run the application as Administrator (right click - Run As Administrator) in which case the function returns 0 (success) but the mapped drive…
Darren
  • 4,408
  • 4
  • 39
  • 57
1
vote
0 answers

Accessing mapped network location to create/copy folders on it using C#

I have a shared network path that I mapped with my local machine. The parent folder has certain permissions set. I have two folders at the root of the mapped location. What I was looking for was to copy the entire directory from one directory to…
Yash Saraiya
  • 1,035
  • 1
  • 20
  • 40
1
vote
2 answers

How can I find the IP address of a mapped network drive in C++?

I have a list of possible paths to use for a default input data directory (X:\Data; Y:\Data; Z:\Data). All of the possible paths are mapped network drives. I can check this using GetDriveType(pathStr) == DRIVE_REMOTE. To determine the best one, I…
Ben
  • 1,003
  • 1
  • 11
  • 18