Directory operations (Maxima 5.45.0 Manual)

Next: File operations, Previous: Introduction to operatingsystem, Up: operatingsystem-pkg [Contents][Index]

### 77.2 Directory operations

Function: chdir (dir)

  Change to directory dir

Function: mkdir (dir)

  Create directory dir

Function: rmdir (dir)

  remove directory dir

Function: getcurrentdirectory ()

  returns the current working directory.

  See also `directory`.

Examples:

    (%i1) load("operatingsystem")$
    (%i2) mkdir("testdirectory")$
    (%i3) chdir("testdirectory")$
    (%i4) chdir("..")$
    (%i5) rmdir("testdirectory")$

Next: File operations, Previous: Introduction to operatingsystem, Up: operatingsystem-pkg [Contents][Index]