@deleelee said in The 'shortcuts.xml' file is NOT re-created if you delete it, on purpose or by mistake !:
Perhaps I’m misunderstanding your meaning but, if the “exe” directory is the one containing notepad++.exe, the portable version does have shortcuts.xml there.
You ignored the context of the discussion: the specific question @guy038 asked was,
Is is normal that a default shortcuts.xml file is NOT created if absent in current folder ( for a portable version )
Or, phrases a different way: “if you delete the shortcuts.xml and start Notepad++, why doesn’t it re-create it with default shortcuts”
So, definitionally, if you’ve deleted the shortcuts.xml from the portable directory, there is no shortcuts.xml from which NPP can read the defaults, since NPP doesn’t have a .model for shortcuts.xml and it has no where else to look. (I was contrasting that to the normal installation, where if you delete the App data shortcuts.xml, NPP can recreate it using the shortcuts.xml in the exe directory)