If Nil is returned then you don't have one, and simply need to create one (it's a text file with a .lsp file extension).
I did that and return Nil. So I have to create a file .lsp
with this code inside
(command "._workspace" "_setcurrent" <DEAP>)
And paste Where?
Thank you
Firstly, <DEAP> should be a string... If the < and > characters are actually part of your workspace name, then use:
(command "._workspace" "_setcurrent" "<DEAP>")
Second, Acad.lsp should be located at the top of your SFSP... Meaning go into Options dialog and identify the first path in SFSP, and place your Acad.lsp file there (presuming you have write access to that folder). The reason for this is that the FINDFILE Method is used to located Acad.lsp within your SFSP (which includes the Active Document's folder), and by placing this file at the top of your SFSP it is found first (before potential duplicates).
The problem, is that if one is found in the Active Document's folder, it is used instead... Which is exactly how Acad.lsp viruses are able to exploit AutoCAD so easily as I've tried to convey to Autodesk time and time again, but that's another topic.
Give this a try, and let us know how it works for you.
Cheers