Niterux
Niterux•3w ago

How do I still run .cmd with deno after 2.5.2?

How do I get around this change to still run cmd files with deno or do I just have to stick to 2.5.1? Using Deno.Command https://github.com/denoland/deno/pull/30818
2 Replies
Mrcool 🇵🇸
Either run it with "cmd" "script.cmd" or rename it and remove it's extension so it becomes script instead of script.cmd
Niterux
NiteruxOP•3w ago
should I just substring out the last 4 characters to see whether I should run it with cmd then?

Did you find this page helpful?