Edit and write .bat files on Mac
I need a solution, please.
I need a solution, please.
As others have stated, Macs do not use .bat files. If you
are trying to create some process to do a series of system tasks
there are multiple ways to do it.
Applescript - https://developer.apple.com/library/content/documentation/AppleScript/Conceptual /AppleScriptX/AppleScriptX.html
Automator -
In the Mac Help menu, just type in automator.
In addition, you can create command line scripts as well using
the built in UNIX Bash shell. The article is for Linux but is still
valid for any *NIX environment:
https://linuxconfig.org/bash-scripting-tutorial
In addition, you can create such scripts in Swift language. I believe
you need to install Xcode to get the Swift interpreter shell for Terminal.
http://www.strathweb.com/2014/06/using-swift-general-purpose-scripting-language/
Batch files can be written/edited in Notepad or Stickes but .BAT files are for Windows OS, not Mac.
The OS X equivalent is Apple Script
https://macosxautomation.com/applescript/firsttutorial/index.html
By ".bat" files are you referring to the MS DOS/Windows type batch files?
If so, then check out the following article: 10 Best Text Editors For Mac - Beebom
Edit and write .bat files on Mac