I can't seem to find how to do this simple task, and this is probably answered.
How does one add a string to a variable? such as set "FileNameAndPCName = Locker\
and add %COMPUTERNAME%"
to the variable so it would become like, "Locker/Bill"
?
Code:
@echo off
set FileNameAndPCName="Locker\" + "%COMPUTERNAME%"
echo %FileNameAndPCName%
pause