Keyboard shortcuts that you assign in Microsoft Word work ONLY in Microsoft Word, not in any other application - not in Notepad, not in Excel, not in Windows Explorer.
To assign custom keyboard shortcuts in Windows, you need a third-party utility, such as
Clavier.