WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Testing with a virtual drive letter (Read 79 times)
Verne
Junior Member
**
Offline



Posts: 50
Testing with a virtual drive letter
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 


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
Back to top
 
 
IP Logged
 
Verne
Junior Member
**
Offline



Posts: 50
Re: Testing with a virtual drive letter
Reply #1 - 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.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2232
The Netherlands
Re: Testing with a virtual drive letter
Reply #2 - 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
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1