-3

How to run in Ubuntu using bat file?

Setup with a start.bat file

Once you download the file from Assets, unzip it and in the same folder as t-rex.exe, create a start.bat file with the contents:

t-rex.exe -a ethash -o ethash.unmineable.com:3333 -u COIN:YOURADDRESS.WORKER_NAME -p x
pause

But how?

muru
  • 193,181
  • 53
  • 473
  • 722
Thor
  • 1
  • 1
    Even if you were able to get the `*.bat` file to run in Ubuntu, how would you get the `t-rex.exe` file to run? After solving your 1st problem, you would run into another problem. – Enterprise Jun 25 '21 at 04:25
  • What do you mean ? What command i use for running ? $ or # in Ubuntu ? – Thor Jun 25 '21 at 04:47
  • And i am not able to run yet ! Its just saying run the bat file but i want to run via coding so which command should i need to start this bat file ? – Thor Jun 25 '21 at 04:50
  • What do you get if you run `file t-rex.exe` – user10489 Jun 25 '21 at 05:06
  • I didn't but how to start it will be great ! – Thor Jun 25 '21 at 05:11
  • 1
    Does this answer your question? [Running an exe without calling "wine" cmd](https://askubuntu.com/questions/1310977/running-an-exe-without-calling-wine-cmd) – N0rbert Jun 25 '21 at 07:09

1 Answers1

1

It sounds like you are trying to install windows software in linux. This won't work. You have to get a linux version of the program if you want to install it in linux.

For alternatives, see How can I install Windows software or games?

user10489
  • 3,564
  • 2
  • 5
  • 22