F5F Stay Refreshed Software Operating Systems Switch directory while keeping the file location intact.

Switch directory while keeping the file location intact.

Switch directory while keeping the file location intact.

C
Crackalack
Member
161
11-16-2023, 10:49 AM
#1
You're looking for a method to relocate the application directory from C:\ to D:\ while keeping the file path intact. Since you want to avoid third-party tools, consider using system properties or environment variables to adjust the installation location. You can set the drive letter in the system settings and then use the Windows command prompt to move the folder there. Alternatively, you could create a shortcut that points to the new location, but ensure it works with your application's functionality. If parts of the app rely on specific paths like C:\ProgramData, you may need to manually adjust those settings or use scripts.
C
Crackalack
11-16-2023, 10:49 AM #1

You're looking for a method to relocate the application directory from C:\ to D:\ while keeping the file path intact. Since you want to avoid third-party tools, consider using system properties or environment variables to adjust the installation location. You can set the drive letter in the system settings and then use the Windows command prompt to move the folder there. Alternatively, you could create a shortcut that points to the new location, but ensure it works with your application's functionality. If parts of the app rely on specific paths like C:\ProgramData, you may need to manually adjust those settings or use scripts.

H
HannahGG
Member
148
11-16-2023, 05:23 PM
#2
Consider relocating the folder to your preferred spot and setting up a symlink there.
H
HannahGG
11-16-2023, 05:23 PM #2

Consider relocating the folder to your preferred spot and setting up a symlink there.

_
_GORR_
Junior Member
39
11-18-2023, 04:25 PM
#3
You're welcome.
_
_GORR_
11-18-2023, 04:25 PM #3

You're welcome.