WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> Testing with a virtual drive letter
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1508263312

Message started by Verne on Oct 17th, 2017 at 8:01pm

Title: Testing with a virtual drive letter
Post by Verne on Oct 17th, 2017 at 8:01pm
I use my computer to test most of the tasks I create before I move them to a production server.

My production servers have an E: drive where I keep all the batch files that WatchDirectory executes.  My computer does not have an E: drive so I created one by using the SUBST command and pointing it to a folder named E on my C: drive.
[code]subst E: C:\E[/code]
Problem is WatchDirectory does not see the E: drive when I browse to find it.  Every other application on my computer sees the E: drive

Title: Re: Testing with a virtual drive letter
Post by Verne on Oct 17th, 2017 at 10:30pm
I also noticed one other thing.

If I put the SUBST command into a batch file to just list what virtual drive letters have been created it does not show anything when I run the batch file from WatchDirectory but displays everything just fine if I run the batch file using Windows Explorer.

Title: Re: Testing with a virtual drive letter
Post by Gert on Oct 18th, 2017 at 4:52pm
Hello Verne,

WD runs at another privilige level, I think that causes it. You could try to set a registry key EnableLinkedConnections, that may help. See https://technet.microsoft.com/en-us/library/ee844140(v=ws.10).aspx

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.