Cannot run .exe files
See original GitHub issueHere is a part of my settings.json
"code-runner.executorMapByFileExtension": {
".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt",
".vbs": "cscript //Nologo",
".scala": "scala",
".jl": "julia",
".cr": "crystal",
".ml": "ocaml",
".exs": "elixir",
".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
".rkt": "racket",
".ahk": "autohotkey",
".au3": "autoit3",
".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar",
".kts": "kotlinc -script",
".dart": "dart",
".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
".hs": "runhaskell",
".nim": "nim compile --verbosity:0 --hints:off --run",
".csproj": "dotnet run --project",
".fsproj": "dotnet run --project",
".exe": "cd $dir && $fileName"
}
But when I right click on an .exe an click run code, nothing happens. What am I doing wrong ?
OS: Windows 10 64-bit VS Code: Version 1.25
Issue Analytics
- State:
- Created 5 years ago
- Comments:37 (14 by maintainers)
Top Results From Across the Web
Cannot open EXE files - Windows Server | Microsoft Learn
Click Start, and then select Run. · Type "command.com" , and then press Enter. · Type the following command lines: · Type copy...
Read more >Exe File is Not Opening: 6 Ways to Fix it [Force Launch]
If you can't run an executable file in Windows, the most likely cause is that there is an incorrect file association.
Read more >Cannot Open .EXE Files in Windows 10 – Fixed
According to Microsoft experts, this problem occurs due to corrupt registry settings, or system issues due to virus infection or third-party ...
Read more >Fix: Cannot Open Executable (.EXE) Files on Windows
Try running the executable file in compatibility mode. To do this, open the properties of the EXE file, go to the Compatibility tab,...
Read more >How to fix .exe files not opening in Windows 10? - Auslogics
1. Check the system for malware. 2. Mend the .exe file association. 3. Change executable file parameters in the registry.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok. I will do that in some time. Thanks for your help.
I don’t think I have the knowledge to fix the bug. Sorry 😔☹️