When I need to extract a .RAR file using a BAT script I use the following command:
set path="path\to\installed\winrar\directoy"
WinRAR x "name of file.RAR"
In the next line if I try to give a xcopy command it says:
'xcopy' is not recognized as an internal or external command, operable program, or batch file.
Whereas if I run the xcopy command before issuing the set path command, it works without any issue.
How do I use the xcopy command AFTER giving the set path command?