Page 1 of 1

How to make Drives assigned by SUBST visible in XYPlorer?

Posted: 29 Aug 2012 16:48
by Blacksmith
Hi

I just downloaded ther trial of XYPlorer. It's functionality sounds very promising!

However I do have a problem: I use SUBST to map several drives during boot. I do this by means of a .BAT file:

Code: Select all

net use s: /delete
net use y: /delete

Subst S: /D
Subst Y: /D
rem pause

SUBST S: "Z:\SL"
SUBST Y: "\\X120\Scan"

rem pause
This may sound out-dated but is very effective for what I need it (one-click access to those locations)!

My problem: Those 'drives' do not appear in XYPlorer - MS Explorer shows them without problems. Is there any option I can activate to make them visible? 'Show hidden drives' does not help!

If you want I can add screenshots, but I don't think this will help...

Re: How to make Drives assigned by SUBST visible in XYPlorer

Posted: 29 Aug 2012 17:05
by j_c_hallgren
Hi and welcome to the XY forums!

Not sure about SUBST but have you looked at using a Catalog entry or CTB (custom toolbar button) as substitute? Because either would allow one-click access to a specific location...

Re: How to make Drives assigned by SUBST visible in XYPlorer

Posted: 29 Aug 2012 19:46
by admin
I have used Subst with XY years ago without problem. Maybe you just have to refresh the Tree? Can you access the drive by typing it into the address bar?

Re: How to make Drives assigned by SUBST visible in XYPlorer

Posted: 30 Aug 2012 10:13
by Blacksmith
@j_c_hallgren
Catalog entry or CTB would require some changes, as we use often get and reuse the path to the files stored there under S: and Y:. So this seems not an easibly feasible solution.

@admin
> I have used Subst with XY years ago without problem.
So it was maybe not with Win7 x64? I do think there were some changes about the treatment of SUBST. Can not remember it in detail, but I think in WinXP it was possible to share SUBST drives on the network and this is no longer possible on Win7. I assume it works differently now.

> Maybe you just have to refresh the Tree?
No change

> Can you access the drive by typing it into the address bar?
Opens a message box: 'Location currently not available.'

Any other ideas what I could try?

Re: How to make Drives assigned by SUBST visible in XYPlorer

Posted: 30 Aug 2012 10:39
by admin
Just tried this on my Win7 64 and it worked like a charm:

Code: Select all

!SUBST U: "\\Triton\Users\Public"
:|

Re: How to make Drives assigned by SUBST visible in XYPlorer

Posted: 31 Aug 2012 12:09
by Blacksmith
Interesting! Thank you for your support. It stimulated me to further testing with the following result:


I used SUBST to add one more drive (T:) and it showed up in YXPlorer after a few seconds (even faster than MS Explorer). :D

However: When I closed and restarted XYPlorer it had gone and would not show up again :eh: . Did you test this was well? Further used "SUBST T: /D to remove the disk. After I had done so, I was no more able to reassign T: in a manner that it could show up in XYPlorer :shock: . But what miracle: Drives S: and Y: were available now! :|

I booted, ... just tried everthing: S: and Y: were available now T: would not show up again if assigned with SUBST (see attached screenshot: Drive T: mapped with SUBST from commandline, DIR shows content of T:, but on the left hand side in XYPlorer T: does not show up. A pity I did not take screen shots not showing S: and Y: yesterday....!
:roll:

I investigated a bit on the web and found you could use

Code: Select all

NET USE t: "\\X120\Scan"\\
to the drive letters as well. And miracle again: Using NET USE to assign/unassign letters worked each time!

I rewrote my batch to use NET USE and I think it works nice that way now. :appl:



Final remark:
Maybe I always had some problem with the SUBSTed dirves: S: showed up normally, but Y: always said "Disconnected Network Drive" - but it always allowed access to the data...

Re: How to make Drives assigned by SUBST visible in XYPlorer

Posted: 31 Aug 2012 13:55
by admin
Wow, interesting and confusing, thanks.

Just FYI: XY does nothing at all internally about SUBST. It is completely ignorant about this and just naively polls the file system. Which drives are available/visible is controlled by Windows.