2016년 5월 27일 금요일

ini file 위치 ... XP, Vista, 7, 등등...

오래된 MFC 샘플에서 훨씬 더 오래 전에 만들어진 것으로 보이는 샘플이
있었고, 거기에는
SetRegistryKey(_T("Local AppWizard-Generated Applications"));
호출이 없는 샘플이 있었다.
이것이 분명히 어디엔가 설정을 저장할텐데, 도무지 그 ini 파일의 위치를
찾을 수 없었다.
_(구글 검색:   where the ini file in Windows )_ 를 했고,
몇 줄 아래에 답을 찾을 수 있었다.
아래의 곳이 그곳인데, 원래의 내용이 없어질 것에 대비해서 복사를 해 놓았다.
내 샘플의 위치는 약간 다른데, ...
...\VirtualStore\Program Files\... 이 아니라
...\VirtualStore\Windows\... 에 있었다.
아래의 사이트를 살펴 보면, 일반적인 위치라기 보다는 그 회사의 제품인
SpringConnect 라는 제품의 ini 파일 위치를 알려 준 것이라고 생각된다.

정작 MS의 도움말에는 아무리 뒤져봐도 안나왔다. 이래서, 나는
MS에 감정이 좋지 않다. 이런 비슷한 일을 흔히 겪었다. 어쩔 수 없이 사용한다는...
벗어날 실력도 없고..
정리하면,
XP에서는.. C:\Program Files\    에 있을 가능성이 있고,
Vista 에서와 Windows7 에서는..
C:\Users\__사용자_이름__\AppData\Local\VirtualStore
내부에서, 
\Program Files\  또는
\Program Files (x86)\  또는 
\Windows\
폴더 내부에 찾아보면 나올 가능성이 높다.
내 경우에는 \Windows\ 폴더에 들어 있었다.

ini 
출처:
https://support.springahead.com/customer/portal/articles/71462-how-do-i-find-my-ini-file-

==
인용:

How do I find my .ini file?

Problem

You need to locate your .ini file (alternatively called a Configuration File) to either copy your settings or modify them.

Solution

Your .ini file can commonly be found in these places:

  • Windows XP: C:\Program Files\SpringConnect.ini
  • Windows Vista: C:\Users\__사용자_이름__\AppData\Local\VirtualStore\Program Files\SpringConnect\SpringConnect.ini (__사용자_이름__은 Vista의 로그인 이름이다. USERNAME is your Vista login name)
    (Note: Make sure that you have 'Show hidden files' enabled within your Control Panel)
  • Windows 7: C:\Users\USERNAME\AppData\Local\VirtualStore\Program Files\SpringConnect\SpringConnect.ini (USERNAME 은 Windows7의 사용자 로그인 이름이다. USERNAME is your Windows 7 login name)
    (Note: Make sure that you have 'Show hidden files' enabled within your Control Panel)

If your .ini file is not in any of these locations, it may be located on your company’s network, most likely on the drive where your accounting software is located. Here's how to check the location:

  • First, find SpringConnect's shortcut that Windows creates in the Start bar. It will either appear in your frequently used programs list, or you search for it in the Search Program Files and Folders box. Once located, Right-Click on the icon and select Properties.
  • The location of your .ini file will be in the Start In box.

Now you know where your .ini file is located!
==



2016년 5월 3일 화요일

내 북마크-FreeCAD

_(google:  freeCAD )_ 검색
http://www.freecadweb.org

범용 CAD 3차원. 자유 소프트웨어.

_