Hi Im new with CMD but I'd like to make a few scripts to make my gaming a little easier this might help also in the future.
So I have my code here
xcopy /s "D:\MSC\Amistech" "%USERPROFILE%\AppData\LocalLow\Amistech" /Y
This works fine for my brothers Laptop but plugging it into my computer gives my USB (D:) (Volume name "120GB") drive a different letter which causes It not to work on other peoples computer I'd like to have it change from the D: drive to auto detect when opened what drive the batch file is opened on but I have no idea where to start.