Use a text editor to generate a .bat file and save it with a command like "Create a script.bat" or similar.
Use a text editor to generate a .bat file and save it with a command like "Create a script.bat" or similar.
Generate a Windows batch file using Notepad or Notepad++ and name it appropriately. Save the file with a .bat extension.
Type "run" or "cd" followed by the path: C:\Temp\platform-tools>gnirehtet run or C:\Temp\platform-tools>gnirehtet cd
I understand you're looking to execute the script from a batch file. You probably need an exact path, as Windows doesn't handle spaces well. Use quotes around the full location, like "C:\Temp\platform-tools\gnirehtet run". You can try it directly in the terminal to confirm it works. If successful, it should function in a batch file.