GetProfString and WIN.INI

GetProfString and WIN.INI

Postby Maurizio » Mon Feb 18, 2013 5:29 pm

Hello

I use GetProfString and I need to know the path of WIN.INI .
There is a function that returns where is WIN.INI in Windows 7 ?

Regards MAurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: GetProfString and WIN.INI

Postby Bayron » Mon Feb 18, 2013 6:44 pm

Haz intentado con:

Code: Select all  Expand view
cWinDir := GetEnv( "windir" )
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: GetProfString and WIN.INI

Postby Maurizio » Tue Feb 19, 2013 7:56 am

Hello
GetEnv( "windir" ) always returns c:\wiondows

in Windows 7 WIN.INI path is different for each operator

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: GetProfString and WIN.INI

Postby armando.lagunas » Tue Feb 19, 2013 1:39 pm

hello:

If you do not win.ini in c:\windows

see C:\Users\ -<<your account>>- \AppData\Local\VirtualStore\Windows

path for win.ini for your application

bye!
SkyPe: armando.lagunas@hotmail.com
Mail: armando.lagunas@gmail.com
User avatar
armando.lagunas
 
Posts: 346
Joined: Mon Oct 05, 2009 3:35 pm
Location: Curico-Chile


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 50 guests