NirCmd: Copy Path vs. Copy File Name

Page 4 of 4 FirstFirst ... 234

  1. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #31

    Hello @Yaron,

    Yaron said:
    Could you please post the correct command? - I think that would be better.

    I have NOT used nircmd.exe or been following this thread. I just looked at the post and noticed the parenthesis. Usually when coding, the parenthesis would equal each other out [ Even number of entries ].
      My Computer


  2. Posts : 62
    Windows 10 64-bit
    Thread Starter
       #32

    Hello Paul,

    When posting my previous reply I did not notice it was you and not @iT WasnT Me. :)

    Thank you for your help.
      My Computer


  3. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #33

    Hello @Yaron,

    Yaron said:
    Hello Paul,

    When posting my previous reply I did not notice it was you and not @iT WasnT Me. :)

    Thank you for your help.
    NO problem and you are VERY welcome.
      My Computer


  4. Posts : 8
    Windows 10 pro
       #34

    Paul Black said:
    Check the " [ Speech Marks ]. I think there is an EXTRA ONE or ONE MISSING in the original code.


    Bingo!

    Code:
    Windows Registry Editor Version 5.00
    
    ;@(cls&%__APPDIR__%reg.exe import "%~f0" & goto :EOF)
    
    [HKEY_CLASSES_ROOT\*\shell\CopyFileName]
    @="CopyFileName"
    
    [HKEY_CLASSES_ROOT\*\shell\CopyFileName\command]
    @="C:\\\\Windows\\\\nircmd.exe cmd  C:\\\\Windows\\\\nircmdc.exe execmd set \"_=%L\" & cmd /v /d /s /c \"chcp 862>nul & color & echo\\|set/p;.=\"!_:%W\\=!\"|clip\""
      My Computer


  5. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #35

    iT WasnT Me said:
    Bingo!
      My Computer


  6. Posts : 62
    Windows 10 64-bit
    Thread Starter
       #36

    @iT WasnT Me,

    Nope. That doesn't solve it either.

    Thank you.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:29.
Find Us




Windows 10 Forums