# Setup Wizard: using environment variables in user directory path names

30. May 2012 10:52

The latest version of the setup wizard makes it possible to use delay-expanded environment variables when specifying places for user directories.

For example, consider a shared configuration where all user directories have to be sub-directories of a central directory (say \\server\miktexuser). The user directories can then be specified as follows (in setupwiz.opt):

```--shared
```

The environment variable USERNAME will be expanded at run-time: when user Jane runs a MiKTeX program the directory \\server\miktexuser\Jane is her MiKTeX user directory.