Mapping issue in BAT command files. W10

Christian Serpagli 0 Reputation points
2023-01-27T11:38:21.54+00:00

Hi

Running .BAT in DOS command mode for backup purpose, sometimes I get problem with my (robo)copy command stream. The robocopy command is supposed to copy all files from "LETTER: (ex: F: to H:) but, after rebooting, the drives are mapped differently (and the copied files are from/to wrong drives).

My question: Can I force/freeze the mapping of my SDD/HDD to the same "Letter:" in the Register maybe ?

or is there a another possibility inside the <source> parameter

Thanks

CRS

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,787 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.