EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Directory created in the system's disk root
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Flint
Posted on: 11/27/2011 1:15 am
Home away from home
Joined: 10/9/2006
From: Moscow
Posts: 155
Re: Directory created in the system's disk root
OK, I wrote a program for watching for the directory, and today found out what the problem was. The directory appears when I run git commit command, which I customized to use a separate EmEditor instance (with /sp argument) as commit message editor.

I compared environment variables of this instance of EmEditor with variables of EmEditor started normally (using Process Explorer), and saw that APPDATA path is invalid in the instance started by git. The problem is, my Windows account name is cyrillic, and when I start git it changes the current codepage or something like that, and cyrillic name in the path becomes gibberish.

So, probably, there is nothing EmEditor can do about it.


<Added>
OK, I just wrote a simple wrapper that changes all the environment variables to their appropriate values and then starts EmEditor, and customized git to use this wrapper. So far seems to work fine, without creating the D:\Emurasotf directory.

BTW, it's not APPDATA that caused this problem but USERPROFILE variable.
Flat Previous Topic | Next Topic


Subject Poster Date
   Directory created in the system's disk root Flint 11/26/2011 1:21 am
     Re: Directory created in the system's disk root Stefan 11/26/2011 8:21 am
       Re: Directory created in the system's disk root Flint 11/26/2011 9:46 am
         Re: Directory created in the system's disk root Yutaka 11/26/2011 11:29 am
           Re: Directory created in the system's disk root Flint 11/26/2011 11:33 am
           » Re: Directory created in the system's disk root Flint 11/27/2011 1:15 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文