Answered
You can make the following edits to the "Export Layers To Files.jsx" script... Backup the original script just in case you need to revert!
From:

To:

In more detail...
Comment out (disable) the two lines as shown by adding a double forward slash //
Change –
fileNameBody += "_" + layerName;
To –
fileNameBody = layerName;
Restart Photoshop. Enjoy your layer names!
A related topic here:
https://community.adobe.com/t5/photoshop-ecosystem-discussions/export-layers-to-files/m-p/12314369
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
