Windows 10: Double-click to run .bat - Windows cannot find file

Discus and support Double-click to run .bat - Windows cannot find file in Windows 10 Support to solve the problem; Run CMD as admin and copy/paste, then restart. Code: sc config TrkWks start= auto net start TrkWks fsutil usn deletejournal /d /n c: chkdsk /scan... Discussion in 'Windows 10 Support' started by creeve4, Apr 26, 2017.

  1. creeve4 Win User

    Double-click to run .bat - Windows cannot find file


    [/quote]
    Below are the results of these commands:
    Code: C:\Windows\system32>sc config TRkWks start= auto[SC] ChangeServiceConfig SUCCESS C:\Windows\system32>net start TrkWks The requested service has already been started. More help is available by typing NET HELPMSG 2182. C:\Windows\system32>fsutil usn deletejournal /d /n c: C:\Windows\system32>chkdsk /scan The type of the file system is NTFS. Volume label is Win 10. Stage 1: Examining basic file system structure ... 425984 file records processed. File verification completed. 10186 large file records processed. 0 bad file records processed. Stage 2: Examining file name linkage ... 558648 index entries processed. Index verification completed. 0 unindexed files scanned. 0 unindexed files recovered to lost and found. Stage 3: Examining security descriptors ... Security descriptor verification completed. 66333 data files processed. CHKDSK is verifying Usn Journal... 5024 USN bytes processed. Usn Journal verification completed. Windows has scanned the file system and found no problems. No further action is required. 249478143 KB total disk space. 108035960 KB in 296481 files. 187504 KB in 66334 indexes. 0 KB in bad sectors. 502603 KB in use by the system. 65536 KB occupied by the log file. 140752076 KB available on disk. 4096 bytes in each allocation unit. 62369535 total allocation units on disk. 35188019 allocation units available on disk.[/quote] Code: >where cmd C:\Windows\System32\cmd.exe >echo %systemroot% C:\Windows[/quote]
    The problem persists.
     
    creeve4, Apr 28, 2017
    #16
  2. creeve4 Win User

    The Creators updated installed moments ago.
    bat and cmd files are now working properly again.
     
    creeve4, Apr 28, 2017
    #17
  3. dalchina New Member
    Reasonable outcome. Should this happen again, and you can't use a restore point, an in-place upgrade repair install should achieve the same. With the CU around now, a 1607 in-place upgrade repair install of a 1607 installation isn't necessarily the first choice.
     
    dalchina, Apr 28, 2017
    #18
  4. Ztruker Win User

    Double-click to run .bat - Windows cannot find file

    No no no ... back it out so we can work on this some more!!! JUST KIDDING
    Sure wish we knew what was wrong. Oh well, as long as it's working for you now.
     
    Ztruker, Apr 28, 2017
    #19
  5. creeve4 Win User
    My thoughts exactly! I was tempted to roll it back just so I could figure out what was wrong.
     
    creeve4, Apr 4, 2018
    #20
Thema:

Double-click to run .bat - Windows cannot find file

Loading...
  1. Double-click to run .bat - Windows cannot find file - Similar Threads - Double click run

  2. Is it safe to run this bat file?

    in AntiVirus, Firewalls and System Security
    Is it safe to run this bat file?: Spo I was wondering how to get sandbox on windows 10 home and I came across this forum saying that I could run this bat file to try and install it.Enable Windows Sandbox Feature in Windows 10 Home Edition Tutorials tenforums.comThe bat file I downloaded was not blocked by...
  3. Can't run .bat files

    in Windows 10 Support
    Can't run .bat files: I haven't run a .bat file in quite a while, so perhaps I unknowingly did something along the was that prompted this problem. I was trying to run Brinks "Reset_Notification_Area_Icons_Cache.bat", but instead the file opens in my text editor. I disassociated .bat in that text...
  4. Double-clicking .bat, .vbs, .reg do NOT work.

    in Windows 10 Support
    Double-clicking .bat, .vbs, .reg do NOT work.: This morning double-clicking .bat, .vbs, .reg etc do NOT work, although double-clicking all programs [ .exe and shortcuts ] do. I thought I would see if there is a quick fix for this. I have reset the default permissions etc etc. I don't want to spend too much time on this as...
  5. Cannot run an .exe file from .bat file in windows server 2016

    in Windows 10 Customization
    Cannot run an .exe file from .bat file in windows server 2016: I can not run .exe file from a .bat file, .bat file is dynamically create file which contains path to the .exe file. I can see the log of .bat file it prints echo statements but when It comes to execute .exe file it just skip. when I run .exe file manually it runs perfectly....
  6. Windows 10: bat files not being run when double clicked

    in Windows 10 Support
    Windows 10: bat files not being run when double clicked: Hi, somethings has been changed in my win10 64b pro (Microsoft Windows [Version 10.0.17763.134]) box, and now I have issues with bat files: When I double click on them, I get a cmd, empty that shows up for a couple of seconds, and then closes. The .bat is NOT run Of I open...
  7. Bat Files Won't Run?

    in Windows 10 Gaming
    Bat Files Won't Run?: Basically I'm installing BattlEye for a Steam game and I click the .bat file in the game's subfolder to download it (when I was prompted to download it I clicked no but now I practically need it for most servers), and I download the .bat from the main website and it also...
  8. Cannot run apps by double clicking from explorer

    in Windows 10 Software and Apps
    Cannot run apps by double clicking from explorer: I'm not sure when this started, just recently I believe - probably within the last two to three weeks. If I download something, go to that folder and double-click the app to run the install, nothing happens. If I leave the mouse icon there all you see is the arrow and the...
  9. Trouble running .bat files

    in Windows 10 Support
    Trouble running .bat files: Hi, I'm trying to run .bat files on Windows 10, but it tells me that "This app can't run on your PC". It doesn't matter what I use it for, .bat files just won't run anyway. Are .bat files no longer supported? (ran fine on Windows 7) Any workarounds? I'm no expert on...
  10. Can't Run .Bat Files

    in Windows 10 Support
    Can't Run .Bat Files: I try to run .bat files and the just run in note pad. There is no "open with" option. 48199