><div class="binding"><span id="os/cd" class="binding-sym">os/cd</span> <span class="binding-type">cfunction</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/4e5889e/src/core/os.c#L1874">source</a></span> <pre class="binding-text">(os/cd path)

Change current directory to path. Returns nil on success, errors on failure.</pre><a href="https://janetdocs.org/os/cd">Community Examples</a></div><hr><div class="binding"><span id="os/chmod" class="binding-sym">os/chmod</span> <sp