System Variables

System variables are set internally but you have access to them

The system settings special variables during the execution of the script

List of System Variables

These variables cannot be overwritten. Attempting to do so will fail

coutput

coutput is the current output. Wherever you use this variable will return the current output of the script

cindex

This is the current index. This is often available in a for loop

cword

This is the current word. This is often available in a for loop

_homedir_

The returns the home directory of your computer.

_basedir_

This returns the base directory of the current script

Last updated