FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GetProfString and WIN.INI
Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
GetProfString and WIN.INI
Posted: Mon Feb 18, 2013 05: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

Posts: 883
Joined: Thu Dec 24, 2009 12:46 AM
Re: GetProfString and WIN.INI
Posted: Mon Feb 18, 2013 06:44 PM
Haz intentado con:

Code (fw): Select all Collapse
cWinDir := GetEnv( "windir" )

=====>

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

FWH25.06--Harbour 3.0.0--BCC7.7--UEstudio 10.10
Windows 10

FiveWin, One line of code and it's done...

Posts: 842
Joined: Mon Oct 10, 2005 01:29 PM
Re: GetProfString and WIN.INI
Posted: Tue Feb 19, 2013 07:56 AM

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

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

Maurizio

Posts: 346
Joined: Mon Oct 05, 2009 03:35 PM
Re: GetProfString and WIN.INI
Posted: Tue Feb 19, 2013 01: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

Continue the discussion