English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method is used to create a new directory.
make_dir(directory)
directory −This is the name of the directory to be created.
The status of the directory creation operation. If successful, an {Ok} message will be displayed.
-module(helloworld). -export([start/0]). start() -> io:fwrite("~p~n",[file:make_dir("newdir")]).
will create a directory named newdir directory.