pathlispclispcwd

Path of current working directory


I installed clisp on windows. I want to load a file but I can't. I do not know what is my current working directory. How can I see it and change it? Thanks in advance


Solution

  • Use ext:cd

    To display:

    [1]> (ext:cd)
    #P"/Users/pu/"
    

    To change, add a path name or a string:

    [3]> (ext:cd #P"/")
    #P"/"
    [3]> (ext:cd)
    #P"/"
    
    [3]> (ext:cd "/Users")
    #P"/Users/"
    [3]> (ext:cd)
    #P"/Users/"