network-drive

Keeping Visual Studio Projects on a Network Drive

We just did a move from storing all files locally to a network drive. Problem is that is where my VS projects are also stored now. (No versioning system yet, working on that.) I know I heard of problems with doing this in the past, but never heard of a work-around. Is there a work around? So my VS is installed locally. The files are on ...

How does one map network drive from windows service?

I'm trying to map network drive from windows service, I use batch file for executing the following command NET USE U: \\192.168.55.6\folder password While executing batch file either in service constructor or in onstart event, drive is not mapped? Process process = new Process(); process.StartInfo.FileName = System.IO...

How to programmatically check/set access permissions to a network drive?

How do you check to see if you have access (yet - because it will work fine after you have navigated there at least once before in this windows session and entered name/pass) to a network drive without waiting for the IOException when trying to access it? And on that note, suppose that I can get my users name/pass via dialog, how do I s...

How to prevent FileIOPermissionException(and others) when run .NET application from network drive.

My C# application (.NET 3.5 SP1) works very well when if execeuted from local drive. However, if I run it from a network drive, it execute (IT IS .NET 3.5 SP1), but failed to read a file located on the same network drive, during File.ReadAllText. If it matter, the folder structure is like the following \\server\myshare\ABC\app.exe \\s...

Running an executable on network share with CustomAction with wix?

Hello, i have created a msi-package which compresses some xml-files to a zip-file during installation. I have created a CustomAction for this purposes: <CustomAction Id="CompressMy" BinaryKey="zipEXE" ExeCommand="a -tzip &quot;[TEMPLATE_DIR]my.zip&quot; &quot;[TempSourceFolder]data.xml&quot;" Return="check" HideTarget="no" Impersonate=...

How do I access a network drive through the usual System.IO classes?

My software handles multiple operations on files, and I have now finished writing the related functions, using the System.IO classes. I now need to add support for network drives. Using a mapping works very well (although Directory.GetFiles is a bit low, and I don't know why), but I'd now like to be able to deal directly with paths such...

Programatically check whether a drive letter is a shared/network drive

Hi SO community! I searched a while but found nothing that helped me. Is there a way to check whether a drive letter stands for a shared drive/network drive or a local disc in python? I guess there is some windows api function that gives me that info, but I cant find it. Perhaps there is even a method already integrated in python? What...

Designing API for Iomega network drives web access over http/https

Hello! Can you share your experience of working with network shares like Iomega StorCenter or iConnect over http(s)? Especially: Login/logout workflow Browse functionality Reading/writing objects Reading/writing object properties Your recommendations Thank you! ...

script to map networkdrive base on username

I have a .cmd script I want to map a network drive based on the username of the person running it. So something like this net use K: \\nas001\users\[My_User_Name] Except replace [My_User_name] with the name of the user running the script. Is this possible? Thanks ...

Network drive indexing frequency

The company I work for have millions of documents that are stored and shared on multiple network drives mapped to users' drives (e.g.] d:\ to \server1\, etc). What I'd like to implement is to crawl over network drives and let users find files fast using a full-text indexing. My current indexing strategy is Lucene.net But I am not su...

Is There a Windows SMB Client Opened Implement.

There was a smbmrx sample code using RDBSS in WDK Vista. But since WDK 7600 has been released, the sample was removed. -Do you know why? I'm finding a nice sample code to learn RDBSS. Is there a good open source better than smbmrx sample? ...

How can I map a network drive without hardcoding a drive letter as a batch file

I need to map a network drive with a batch file, but don't want to specify the drive letter. The batch file is used as part of a deployment process; I call the batch file from CruiseControl.Net, the batch file needs to map a UNC path which requires credentials to authenticate. Then the batch file calls RoboCopy to deploy the website fro...

Servlet throws file not found excp when accessing network drive

Hello All, I've a production env and test env. Production has win2k3+tomcat 6.0+ and network drive mapped to a drive letter for easy access (z:\app instead of \symba\files\app). My test env has windows xp (all the software is same including the source code for servlet) and test also has the same drive letter mapping to the network drive....