load script if the path is a string variable

How do I load a script if the path is a string variable

a:“kdb/sp.q”

\l a

I get this error.

'a. OS reports: No such file or directory

Do we have to hard-code the file path everytime we need to load it?

system"l ",a

system"l "Is the equivalent of \lExcept you can join a param to itAs a string is passed to the system command runsystem"l ",aHth,SeanSent with AquaMail for Androidhttp://www.aqua-mail.comOn 6 October 2016 09:04:48 ‘Hungry Goat’ via Kdb+ Personal Developers wrote:How do I load a script if the path is a string variablea:“kdb/sp.q”\l aI get this error.'a. OS reports: No such file or directoryDo we have to hard-code the file path everytime we need to load it?–

Submitted via Google Groups