command - Trying to make this CMD line work -


so created context menu in registry

hkey_classes_root > * > shell > copy > commmand > cmd /c dir "%1" /b /a:-d /o:n | clip 

this copies file name when right click on file, yet want add copy text before file name.

so db.yetteh.co.uk/%1 %1 being filename.

cmd /c echo db.yetteh.co.uk & dir "%1" /b /a:-d /o:n | clip 

any ideas?

cmd /c (echo db.yetteh.co.uk&dir /b /a:-d /o:n "%~1")|clip 

should work you.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -