On a computer I have emacs installed. I wanted to install emacs on another computer without administrator rights.
So I copied all the directory from the computer on which emacs is already installed to the other computer. I add the .emacs with C-x f ~/.emacs
When I open emacs again the file .emacs is not read and there is an error message :
mapc: Opening directory: No such file or directory, C:/Program Files/GNU Emacs 26.1/share/emacs/site-lisp/site-start.d
I know emacs is not installed there. (this is the path where emacs was installed on the computer from where I copied the directory)
How can I say to emacs the right path when it opens?