ChDir

Change the current directory or folder.

Syntax
      ChDir path

Key
   Path   The directory to make current.

The ChDir statement can be used in VBA code.

Example

ChDir "C:\work\"

"All that is gold does not glitter, Not all those who wander are lost;" ~ J. R. R. Tolkien

Related:

ChDrive - Change the current drive


 
Copyright © SS64.com 1999-2019
Some rights reserved