See I/O in Arc for information on reading and writing files.
ensure-dir path
Creates the specified directory, if it doesn't exist.
|
>(ensure-dir "newdir") nil |
dir path
Returns the directory contents as a list.
|
>(dir "mydir")
("foo" "bar")
|
dir-exists path
Tests if a directory exists.
|
>(dir-exists "mydir") "mydir" |
file-exists path
Tests if a file exists.
|
>(file-exists "mydir") nil |
rmfile path
Removes the specified file.
|
>(rmfile "oldfile") nil |
Copyright 2008 Ken Shirriff.