Skip to content
Automatically exported from
Branch: master
Clone or download
Pull request Compare This branch is 21 commits ahead, 12 commits behind ildar-shaimordanov:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Persistent SUBST command

Works the same way as´s native SUBST command, but in a reboot-persistent manner.

Purpose´s native SUBST command is a great tool, but every drive mapping get´s erased when windows reboots. PSubst creates reboot-persistent virtual drive mappings.

To do this, PSubst requires administrative rights, so there is an in-built elevation function that is called when needed.


Run psubst.bat /? for usage instructions. Note: arguments can be specified in any order.

When can this be used?

  • Temporary subst when the physical drive is missing;
  • Mapping Network drives
  • Bypass Windows limitation for the size of filepath (256 characters);
  • Working of some application within own space;
  • Emulation of other operational systems.
  • Personal files organization

Related links

You can’t perform that action at this time.