commandbox.system.modules_app.system-commands.commands

Class cd

lucee.Component
    extended by 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}

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any run([any directory=''])
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    run

    public any run([any directory=''])

    Parameters:
    directory - The directory to change to