Difference between revisions of "Working with Directories in Lianja"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
m (Text replace - "Recital" to "Lianja") |
||
Line 1: | Line 1: | ||
− | ==Working with Directories in | + | ==Working with Directories in Lianja== |
− | ===Creating Directories in | + | ===Creating Directories in Lianja=== |
* [[MKDIR|mkdir]] - create a directory | * [[MKDIR|mkdir]] - create a directory | ||
Line 7: | Line 7: | ||
</pre> | </pre> | ||
− | ===Deleting a Directory in | + | ===Deleting a Directory in Lianja=== |
* [[RMDIR|rmdir]] - delete a directory | * [[RMDIR|rmdir]] - delete a directory | ||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
− | ===Finding and Changing the Current Working Directory in | + | ===Finding and Changing the Current Working Directory in Lianja=== |
* [[CURDIR()|curdir()]] - return name of the current directory | * [[CURDIR()|curdir()]] - return name of the current directory | ||
Line 33: | Line 33: | ||
</pre> | </pre> | ||
− | ===Listing Files in a Directory in | + | ===Listing Files in a Directory in Lianja=== |
* [[DIR|dir]] - display a directory of files | * [[DIR|dir]] - display a directory of files | ||
Line 54: | Line 54: | ||
</pre> | </pre> | ||
− | ===Finding and Changing the Current Search Path in | + | ===Finding and Changing the Current Search Path in Lianja=== |
− | * [[PATH()|path()]] - return current | + | * [[PATH()|path()]] - return current Lianja path setting |
<pre> | <pre> | ||
Line 61: | Line 61: | ||
</pre> | </pre> | ||
− | * [[SET PATH|set path]] - set | + | * [[SET PATH|set path]] - set Lianja path |
<pre> | <pre> |
Revision as of 01:39, 9 December 2012
Contents
Working with Directories in Lianja
Creating Directories in Lianja
- mkdir - create a directory
mkdir <directory as character>
Deleting a Directory in Lianja
- rmdir - delete a directory
rmdir <directory as character>
Finding and Changing the Current Working Directory in Lianja
- curdir() - return name of the current directory
character = curdir()
- default()- return name of the current directory
character = default()
- set default - set current directory
set default to [<directory as character>]
Listing Files in a Directory in Lianja
- dir - display a directory of files
dir [<skeleton as character>]
- adir() - return number of files matching a pattern and load filenmames and information into arrays
numeric = adir(<skeleton as character> [, <filenames as array> [, <filesizes as array> [, <creationdates as array> [, <creationtimes as array> [, <attributes as array>]]]]])
- filecount()- return number of files matching a pattern
numeric = filecount(<skeleton as character>)
Finding and Changing the Current Search Path in Lianja
- path() - return current Lianja path setting
character = path()
- set path - set Lianja path
set path to [<directories as character>]