It's easy to create a keyboard shortcut to run a file/ program.
Usually it takes a combination of keys though, I'm not sure windows will let you set it to just one.
But before you worry about any of this, you have to have the script that you want already written and executable.
Then right click> properties> and somewhere there should be a keyboard shortcut entry. Set it to what you like, and you're good to go.