The file (world.ini) already exists. And its location has been stated many many times. You are just adding to that file.
And don't worry if you can't find it; there's a shortcut to reaching it.
If, in the Level Editor, you go to
Level>Settings like previously stated, it will automatically open world.ini in your default text editor (most likely Notepad if you have Windows).
So let me list all the steps:
-Open your level in the KS level editor.
-Click on
Level, then
Settings
-In the document that opens, find a good, empty spot to add your code.
-The first line of your code is "[Custom Object 1]" (or any number that isn't 0 and that is under 256)
-The other line you absolutely must have is "Image=NAMEOFIMAGE.png". Make this be the second line.
-The rest of the code has been explained a couple of times already. (In
my post here and in
the guide Purple Pineapple linked to)
-Save and close.