Menu

#187 ARexx - FOLDERNEW

open
nobody
None
5
2009-09-01
2009-09-01
Anonymous
No

FOLDERNEW
---------

NAME
FolderNew -- Create a new folder.

TEMPLATE
VAR/K,STEM/K,NAME/A,

FUNCTION
Creates a new folder with the specified NAME.

INPUTS
VAR/K - variable where the number of the new folder created
will be stored
STEM/K - base name used for the stem where the NUMBER, NAME
and PATH of the new folder created will be stored
NAME - name of the new folder

RETURNS
VAR - number of the new folder
<STEM>NUMBER - number of the new folder
<STEM>NAME - name of the new folder
<STEM>PATH - path of the directory for the new folder

RC is set to 5 if the folder NAME already exists

NOTES
NAME must be specified.
The TYPE of the new folder created will be 0 (normal).

If the NAME already exists, the command will not create
the folder and will return RC = 5

EXAMPLE
FOLDERNEW NAME 'MyNewFolder'

AmigaPhil

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.