lucee.Component
commandbox.system.modules_app.system-commands.commands.cd
Change the current working directory of the shell. . Switch into a directory {code:bash} cd tests/ {code} . As with any file and folder parameters, you can traverse "up" a directory. {code:bash} cd ../../tests {code} . Another shortcut for going up a directoy is to add additional dots for each folder. {code:bash} cd ... => cd ../../ // back 2 directory cd .... => cd ../../../ // back 3 directory cd ..... // and so on... {code}
| Method Summary | |
|---|---|
any
|
run([any directory=''])
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Method Detail |
|---|
directory - The directory to change to