In DOS you could substitute one driver letter for another,
Eg. SUBST F:\ C:\ would redirect any calls to the network volume F:\ to the local drive C:\. Is there an equivalent technique in the Win32 API? I need to take a network based system and install it on a standalone PC. I don't relish changing all the drive mapping individually, and shelling out to run SUBST through a DOS batch file don't look too professional.
Eg. SUBST F:\ C:\ would redirect any calls to the network volume F:\ to the local drive C:\. Is there an equivalent technique in the Win32 API? I need to take a network based system and install it on a standalone PC. I don't relish changing all the drive mapping individually, and shelling out to run SUBST through a DOS batch file don't look too professional.