Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
34
rated 0 times [  34] [ 0]  / answers: 1 / hits: 49378  / 3 Years ago, wed, october 13, 2021, 5:34:02

I have a setup.bat file which install some applications and i want to execute it.



This is content of .bat file :



@echo off
cls
Rip_7z.exe x Rip0.7z
cls
del Rip0.7z
cls
Rip_7z.exe x Rip1.7z
cls
del Rip1.7z


I think the Rip_7z.exe file extracts the Rip0.7z and Rip1.7z files and builds the app.



How can I do this in the Ubuntu 11.04 Terminal?


More From » 11.04

 Answers
6

You can run DOS batch file through wineconsole:



$ cat ~/.wine/drive_c/file.bat
@echo off
echo Working
pause
$ wineconsole 'C: ile.bat'


You get a new windows similar to this



enter image description here



Also, you can enter an interactive DOS prompt with



wineconsole cmd


You will get:



enter image description here


[#44131] Friday, October 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itagde

Total Points: 241
Total Questions: 113
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
itagde questions
Thu, Jun 10, 21, 21:24, 3 Years ago
Sat, Aug 13, 22, 22:41, 2 Years ago
Thu, May 20, 21, 11:52, 3 Years ago
Tue, Aug 23, 22, 06:19, 2 Years ago
;