Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 34 lines (23 sloc) 1.4 KB

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.