You can create a directory that isn’t actually on your hard drive but is treated like one from Xcas. You can create such an internal directory with the NewFold command, which takes a variable name as an argument. If you enter
then there will be a new internal directory named MyIntDir. Internal directories will also be listed with the VARS() command. To actually use this directory, you’ll have to use the SetFold command;
Finally, we can print out the internal directory that we are in with the GetFold command; entering
will result in
Afterwards, if this directory is empty, you can delete it with the DelFold command;