Executing the bat file without showing the cmd window?

Page 2 of 2 FirstFirst 12

  1. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       #11

    Oh no, sorry, it does not work. The windows does not pop up anymore but the program is not closed anymore when I double click the lnk file.

    My settings:



    Execute as admin:


    Content of bat file:

    Code:
    taskkill /F /IM C:\Programme\Digital Clock 4\Digital Clock schließen.bat - Verknüpfung.lnk
    When you say "without access", do you mean no permission to run it?
    No, I do not, the window keeps popping up.
      My Computer


  2. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       #12

    Ah, of course, the wrong code / content, this is correct:
    Code:
    taskkill /F /IM digital_clock.exe
      My Computer


  3. Posts : 56,804
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #13

    Enter said:
    Ah, of course, the wrong code / content, this is correct:
    Code:
    taskkill /F /IM digital_clock.exe
    So now all is ok? It works with the correct code and window does not pop up?
      My Computers


  4. Posts : 175
    Windows 10 Version 6.2 (Build 9200) Home, 64bit
    Thread Starter
       #14

    Yes, exactly, now it works perfectly, without the window popping up.

    Many thanks!
      My Computer


  5. Posts : 56,804
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #15

    Enter said:
    Yes, exactly, now it works perfectly, without the window popping up.

    Many thanks!
      My Computers


 

  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 05:29.
Find Us




Windows 10 Forums