Been starting to experiment a bit with the VS Code plugin. However, I can’t seem to load in another script to the one I’m working on.
E.g. running “\l script.q” gives me: OS reports: The system cannot find the file specified. The two scripts are in the same folder.
Thanks,
Allen
1 Answer
1
On Windows try \cd or on Linux/Mac \pwd.
These will show you your current working directory, which may not contain your files.
You can list the files in your current directory with:
\DIR on Windows
\ls on Linux/Mac
key `:. which is a native q command which works on all platforms
You can then load your script.
Either using fully qualified paths:
Windows:
\l C:\\Users\\myuser\\myfolder\\script.q
Mac:
\l /Users/myuser/myfolder/script.q
Linux:
\l /home/myuser/myfolder/script.q
Or relative paths:
Windows:
\l myfolder\\script.q
Mac:
\l myfolder/script.q
Linux:
\l myfolder/script.q
Got it working, thanks Rian. I had already tried the steps above but turns out the issue was due to an accent within the filepath
– Allen_K