SUBST – Windows CMD Command

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118

Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119

Substitute a drive letter for a network or local path.

The SUBST command can be used to map a drive letter to a LOCAL folder on the same machine. In early versions of Windows SUBST also provided some drive mapping options that are now covered by NET USE.

If the network resource is unavailable (ie the server is down) SUBST will continually retry – unlike NET USE which will try to connect once and fail – a subst’d drive that is not available will badly impact performance of the computer.

When SUBST is used against a local shared folder, it will create a RECYCLER for that drive. The RECYCLER is not removed when the drive substitution is removed, but can be deleted manually.

If you map a drive with the NET command, use the NET command to remove it, similarly if you substitute a drive letter with SUBST then use the SUBST command to remove it.

Undocumented behaviour: if a drive is substed using characters other than A-Z ($,#, :, !, 0-9) it will not appear in Windows Explorer or in the drives reported by SUBST.

You may also like...

2 Responses

  1. zoritoler imol says:

    I used to be very happy to seek out this web-site.I wanted to thanks on your time for this glorious learn!! I undoubtedly having fun with each little little bit of it and I have you bookmarked to take a look at new stuff you weblog post.

  2. frolep rotrem says:

    You have noted very interesting details! ps nice internet site.

Leave a Reply

Your email address will not be published. Required fields are marked *