In Batch, I know you can always specify a folder path in batch/cmd, for example,
echo %RANDOM% >> C:\Users\User\Logs\log.txt
or
start C:\Windows\System32\cmd.exe
But what if for example, your batch file was used in a product, where these locations may differ or not exist? How would you specify?