I want to convert a .bat file to a .sh file.
The .bat file looks like this:
@echo off
title=%cd%
set start=%time%
abc.exe xxx.run
@echo %start%
@echo %time%
pause
This is how I think how the .sh should look like, however I am not sure whether it is right:
#!/bin/sh
set +v
title=$cd$
set start=$date$
abc.exe xxx.run
set +v echo $start$
set +v echo $time$
sleep
It returns 'errorcode 1' along with the following errors:
abc.exe: command not found
sleep: missing operand