Article 5KT2C How to create an *.bat file in Linux, but for use in Windows.

How to create an *.bat file in Linux, but for use in Windows.

by
pphu15
from LinuxQuestions.org on (#5KT2C)
I want to use Linux to create a batch file to run on Windows. Creating an shell script is very easy, but how do I use apps provided by Ubuntu 20.04 just to create an Microsoft Windows batch file?I do not want to attempt running Windows on an VM to create an *.bat file, but I want any easiest way to create an MS Windows batch file in Linux.
The batch file I'm needing must had to be usable for Windows, but NOT for use in Linux - since I want to create something just like an common batch file for Windows and save as [WindowsBatchFile].bat and export onto an USB to use it as an cheat code to install Windows 8.1 for free, as following:
Code:@echo off
echo [text1]
echo [text2]
pause>nulI do not need an Linux shell script for anything, cause it is very common and easy there (linux creates ssh files while windows creates bat files, this is easy in just an tiktok video.) Now expand, what should I have to do to create Windows batch file from Linux, without even touching Windows (creating *.bat files from Linux) and make it useable on Windows?latest?d=yIl2AUoC8zA latest?i=I3D5SJLZ30g:rjO9dJwK-YY:F7zBnMy latest?i=I3D5SJLZ30g:rjO9dJwK-YY:V_sGLiP latest?d=qj6IDK7rITs latest?i=I3D5SJLZ30g:rjO9dJwK-YY:gIN9vFwI3D5SJLZ30g
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments