Parameter that the "CopyNames ..." command does NOT copy the file extension?
Moderators: Hacker, petermad, Stefan2, white
Parameter that the "CopyNames ..." command does NOT copy the file extension?
Hi all! Tell me, please, what parameter do I need to insert so that the "CopyNames ..." command does NOT copy the file extension? Thank you!
Re: Parameter that the "CopyNames ..." command does NOT copy the file extension?
There is no such option. There is only a request for it:
For now you can use the button:Stefan2 wrote: 2023-05-04, 06:05 UTC I would like to suggest a new command
cm_CopyBASENamesToClip >> Copy BASE of filenames to clipboard , w/o extension , example: notepad
or "cm_CopyNamesToClip 1" >> Copy BASE of filenames to clipboard , w/o extension , example: notepad
Code: Select all
TOTALCMD#BAR#DATA
mshta.exe "javascript:with(new ActiveXObject('Scripting.FileSystemObject')){clipboardData.setData('text',
openTextFile(getSpecialFolder(2)+'\\'+'%WF'.replace(/.+(?=CMD\w+\.tmp$)/,''),1,0,-1).readAll().replace(/\.[^.\\]+(?=\r)/g,'').slice(0,-2))};close()"
wcmicon2.dll,45
Copy folder names and base file names
1
Overquoting is evil! 👎
Re: Parameter that the "CopyNames ..." command does NOT copy the file extension?
Wow! Super!! Everything is working! Thanks a lot!! ))
Re: Parameter that the "CopyNames ..." command does NOT copy the file extension?
True, the antivirus constantly asks - "whether to allow malicious code"? )) It is necessary to beat the antivirus)))
Re: Parameter that the "CopyNames ..." command does NOT copy the file extension?
Try adding mshta.exe to the whitelist.
You can also dig into the options of the "Custom level..." button after executing: rundll32 inetcpl.cpl, LaunchSecurityDialogEx
You can also dig into the options of the "Custom level..." button after executing: rundll32 inetcpl.cpl, LaunchSecurityDialogEx
Overquoting is evil! 👎