Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

HarengaWoltraz's avatar

embed Javascript in .bat files

Is ther any way to execute javascript from a .bat file or embed the javascript in .bat file.

I need a javascript code to write/read to a file in a local folder.This javascript https://echat.date i should be able to execute it using a .bat.

Is it possible?.

Thanks

0 likes
1 reply
Sinnbeck's avatar

Highly doubt it. If node is installed, you can perhaps call the js file with that.

Please or to participate in this conversation.