Archived

This topic is now archived and is closed to further replies.

File Changing

This topic is 6279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites