embed Javascript in .bat files

前端 未结 8 1844
旧巷少年郎
旧巷少年郎 2020-12-29 17:06

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

8条回答
  •  时光说笑
    2020-12-29 17:34

    It is, sort of. On Windows only, of course.

    That said, there is probably a better way to do this. What do you need the JavaScript to do? Why does it have to be JavaScript?

提交回复
热议问题