File and Folder Watcher - mapped drives not available

Discuss our other products here. Get help with installation and running, notify us of bugs, request new features and enhancements.

Moderators: DataMystic Support, Moderators

User avatar
DataMystic Support
Site Admin
Posts: 2136
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

File and Folder Watcher - mapped drives not available

Postby DataMystic Support » Tue Nov 23, 2010 8:41 am

Under Windows 7 and possibly Windows Vista, mapped drives available in Explorer are not automatically made available to child processes - such as tasks started by File and Folder watcher.

The best solution is to use

Code: Select all

net use <drive letter> \\<servername>\<sharename>

in the batch file that File Watcher starts for you.

More reading: http://kbalertz.com/2019185/Copying-fil ... abled.aspx

This is an old topic, I know, but it carried over to Windows 7 and this article came the closest to the issue I was searching for. Through "trial and error" I found a solution to the problem I was seeing like this by:

1) make sure the command prompt was opened as an administrator (allows access to all folders)

2) use the command "net use <drive letter> \\<servername>\<sharename>" for the share you need to access

I recommend trying this without running the prompt as an admin first to see if it does what you need. In my case, I was copying shortcuts to the c:\users\public\desktop folder through a batch file to install custom utilites we use, so I required the admin access.

Also...and this may be a Windows 7 thing as didn't use Vista much...I found that in a standard (non-admin) command prompt session, I could access the network shares, but I could not through an admin command prompt.

I found that I could include this line as part of the batch files I use as long as the batch files were run as an administrator. It worked like a champ.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

Return to “FileWatcher, DirDate and other Support”

Who is online

Users browsing this forum: No registered users and 1 guest