How to change computer name for one Windows .exe file (Visual FoxPro application). Application gets computer name using sys(0) which probably makes some API call. I tried to create .bat file with
set CLIENTNAME=mycompname1
set SESSIONNAME=mycompname1
myapp.exe
But application still gets real name. How to ovveride API call so that one application only gets some other computer name than specified in computer properties ?