The following example changes the current AutoMate directory to the c:\windows directory.
Sub Main
Action. ChDir ("c:\windows\")
End Sub