A) For choices and habits, like is followed by to-infinitive.
- I like the children to go to bed early during the week.
Not like to can mean ‘think it better not to’:
- Why didn't you tell me before? ~I didn't like to disturb you.
B) For the enjoyment of activities in general, + -ing (especially in BrE) or + to-infinitive, but to talk about enjoying something on one occasion, only + -ing can be used:
- I don't like people phoning / to phone me in the middle of the night.
- I liked climbing that mountain yesterday.
https://en.wiktionary.org/wiki/Talk:like#Usage_note:+-ing_vs_to-infinitive
Is this the general pattern for "liking" verbs (enjoy, hate, prefer, etc.)
Why does the -ing verbal form refer to particular occasions?