# How can I specify home directory.

niac78@free.fr niac78@free.fr
Wed Dec 22 08:59:00 GMT 2004

```Hi all,
I have a different Cygwin home directory than the common C:\Documents and
Settings\username. It was no problem to specify the "set HOME=C:\myHome" in the
cygwin.bat.

The problem comes when a postinstall script tries to modify files in the home
directory. setup.exe understands \$HOME or ~ as "C:\Documents and
Settings\username". Is there a way to specify the new home directory to
setup.exe?