irstly close all the MetaTraders versions.
Use this commands in "cmd" windows:
robocopy /E /MOVE "C:\Users\<USER>\AppData\Roaming\MetaQuotes" "F:\MetaQuotes"
mklink /j "C:\Users\<USER>\AppData\Roaming\MetaQuotes" "F:\MetaQuotes"
<USER> The username of your windows.
"C:\" It's the current windows drive installed.
"F:\MetaQuotes" It's new path
Please enable the necessary setting in your browser, otherwise you will not be able to log in.