How to make Drives assigned by SUBST visible in XYPlorer?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Blacksmith
Posts: 3
Joined: 29 Aug 2012 16:33

How to make Drives assigned by SUBST visible in XYPlorer?

Post 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...

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

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

Post 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...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 67269
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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?

Blacksmith
Posts: 3
Joined: 29 Aug 2012 16:33

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

Post 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?

admin
Site Admin
Posts: 67269
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Just tried this on my Win7 64 and it worked like a charm:

Code: Select all

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

Blacksmith
Posts: 3
Joined: 29 Aug 2012 16:33

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

Post 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...
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67269
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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.

Post Reply