|
sysDirectory |
|
sysDirectory( [const path]) // new path if supplied Query or change current working directory. If no arg is passed a query is done. If an arg is passed, the current directory is changed to the path. Returns fully qualified current working directory in either case. Examples:
sysLog('current dir is '+sysDirectory());
// May give an output as:
// current directory is F:\IBKProj\Csl\Kernel
try {
sysDirectory('d:\os2\boot');
}
catch (exc[]) {
// change directory failed
...
}
|
||||||||
| Copyright © IBK Landquart | Last revision: 27.05.2002 | << Back Top Next >> |