# error: could not lock config file %C:\Users\Hen%/.gitconfig: Invalid argument

2 messages from 2012-04-20 to 2012-04-20. Participants: hen vertis, Carlos Martín Nieto.
Thread: https://gitlist.dev/t/30292

## hen vertis, 2012-04-20 12:52

Subject: error: could not lock config file %C:\Users\Hen%/.gitconfig: Invalid argument
Message-ID: <4F915C26.5010403@gmail.com>
URL: https://gitlist.dev/e/4F915C26.5010403%40gmail.com

```
hi
i run as administrator git-gui and i get for every action that i make 
this error please help me
best regards
hen

```

## Carlos Martín Nieto, 2012-04-20 13:10

Subject: Re: error: could not lock config file %C:\Users\Hen%/.gitconfig: Invalid argument
Message-ID: <1334927426.20138.8.camel@centaur.lab.cmartin.tk>
URL: https://gitlist.dev/e/1334927426.20138.8.camel%40centaur.lab.cmartin.tk
In-Reply-To: <4F915C26.5010403@gmail.com>

```
On Fri, 2012-04-20 at 15:52 +0300, hen vertis wrote:
> hi
> i run as administrator git-gui and i get for every action that i make 
> this error please help me

It looks like Windows parameter expansion gone awry. Your HOME setting
seems get set to %%HOMEPATH%% instead of %HOMEPATH% or similar.

   cmn




```
