"Could not but" [closed]

(I posted this on English learner's group, but no one gave an answer. I hope this is a more appropriate group to post this question.)

Is the following sentence grammatically right to write in literature?

How could I not but close my eyes?

As "I could not but close my eyes" is a valid sentence, I felt like this one should also be valid. But I am confused whether 'could not but' can be used like that in interrogative sentences.


Yes, your construction in a question sentence is correct. The extract from Language Log suggests the following construction with the similar expression “can’t help but”:

The "How can you not help but __" frame is pretty common:

How can you not help but smile? This is the perfect time to express gratitude toward yourself and for all of your efforts with your practice, or anything else in life.

How can you not help but love this boy? Look at that smile.

How can you not help but smile at what is happening in Ottawa and Minnesota right now?

If you continually receive the blessings of the Lord, how can you not help but love Him, that gave you so much.

When you hear the names John Stockton and Karl Malone, how can you not help but think about the Utah Jazz?

How can you not help but feel empowered to JUST DO IT when this adorable toddler in her pink sweater full of hearts tells you that nothing is impossible?