I don't use win98 right now, go to the networking menu, in the control panel..

you will find a choices, something similar to this:

share the printer only
share files and printer ....

I'm not really sure the exact word, but you will see what I mean...

OR just don't share any folder...