File Changing

Started by
1 comment, last by davepermen 23 years, 6 months ago
I try to create a programm, wich could disable the explorer and sets itselfs there, i did thit yet, but I have to rewrite the system.ini. Now I want to automate this in my source. For doing this, I want to rewrite one line of the system.ini, and i''m interested, if this is possible without reading out the complete file and rewriteing the complete file in we wanna play, not watch the pictures

If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia

My Page davepermen.net | My Music on Bandcamp and on Soundcloud

Advertisement
there are a set of win32 api functions for this purpose. as always i don''t have a reference handy, so i can only try to recall how they are called. could be that it''s something like WritePrivateProfileString or SetPrivateProfileString. anyways, look up something simliar like that.

rid
yep, working

WritePrivateProfileString("boot","shell","davepermens.exe","system.ini");

really nice, thats what i''ve searched, really NICE, thanks ridcully

we wanna play, not watch the pictures

If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia

My Page davepermen.net | My Music on Bandcamp and on Soundcloud

This topic is closed to new replies.

Advertisement