简体   繁体   中英

Script runner on “naked” Windows system

I want to write a little executable programm, which runs a cmd-script/batch script and writes the findings in a log files. I succeeded doing so in Java, but then I found out that I may not install Java, nor .net, nor anything else. I just have a "naked", freshly installed Windows system where it has to run.

Any ideas how I could solve that? Another programming language? Or can I pack my Java in my Executable package? How is that done?

Thank you!

C, C++, or Golang.

They don't require installation of heavy runtime systems.

.NET 2.0 should also work if you are only targeting Windows Server 2008 R2 (.NET 2.0 runtime should be available by default)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM