- Как в Wine запустить файл .bat и .msi
- Как в Wine запустить файл .msi
- How do I create a batch file and run it? [duplicate]
- 3 Answers 3
- Thread: How Do I Run a .bat File If Possible?
- How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Re: How Do I Run a .bat File If Possible?
- Tags for this Thread
- Bookmarks
- Posting Permissions
Как в Wine запустить файл .bat и .msi
Вы можете запустить файл .bat разными способами:
Найдите файл .bat и запустите его двойным кликом.
И найдите в окне Проводника нужный вам файл.
wine explorer /ПУТЬ/ДО/ПАПКИ
чтобы сразу попасть в нужную папку.
Когда найдёте файл .bat, то дважды кликните на него.
Например, я хочу запустить файл «С ключом ADM.bat» из папки /mnt/disk_d/Share/Conses/ConsFed/, тогда я открываю эту папку командой
wine explorer /mnt/disk_d/Share/Conses/ConsFed/
И в открывшемся окне двойным кликом запускаю файл «С ключом ADM.bat».
3. Вы можете запустить файл .bat в командной строке, используя конструкцию вида:
wine start /ПУТЬ/ДО/ФАЙЛА.bat
Если вы используете путь до файла в Linux, то обязательно нужно указать опцию /unix. Например, я хочу таким образом запустить файл «With-ADM.bat» который находится в папке /mnt/disk_d/Share/Conses/ConsFed/, тогда команда следующая:
wine start /unix '/mnt/disk_d/Share/Conses/ConsFed/With-ADM.bat'
Как в Wine запустить файл .msi
Файлы MSI нельзя запускать напрямую; вам нужно использовать либо программу Wine msiexec, либо запуск Wine с терминала:
wine msiexec /i whatever.msi
How do I create a batch file and run it? [duplicate]
Your question is more likely to receive useful answers if it contains some specifics. Such as what type of data is to be processed, including realistic examples of input and output.
@SergiyKolodyazhnyy The duplicate nominee is closed as too broad. As such the close vote on this one should be «too broad» as well. That said it seems like a reasonable question to me as I was once in the dark myself 🙂
@WinEunuuchs2Unix It is closed but does have an accepted answer, which will give OP what they want, or at least a starting point.
@EliahKagan If a mod agrees perhaps he can reopen that one and then merge the answers from here to there?
@WinEunuuchs2Unix That question, which this received close votes to be duped to, was actually reopened a few hours ago, then closed again as duplicate of that highly voted question. Both of them are listed as «originals» in the duplicate banner here (i.e., this question is duped to both of them). So if answers are to be merged, they’d probably be put there. Do you think that would be useful?
3 Answers 3
To create one use the .sh extension but it doesn’t really matter but it helps future users to quickly determine which file type it is. The bat name is mostly used on Windows but in Linux file name extensions do not really matter. Meaning I can call my file say run.de and it would still run in bash file but I believe it’s a good practice to name them with the .sh file extension.
For the editor, part uses any that is best for you between nano vim gedit emacs , but I believe gedit would be nice to start with.
Thread: How Do I Run a .bat File If Possible?
First Cup of Ubuntu
How Do I Run a .bat File If Possible?
Hello. I need to know if it is possible to run a Windows .bat file in Ubuntu, and if so, how.
In case you need to know, the following is the content in the file:
EgyDown.ex_ x -d1 -o+ -y+ -vm+ GTA3.uha
Dark Roasted Ubuntu
Join Date Sep 2006 Location California, USA Beans 1,045 —> Beans 1,045 Distro Ubuntu 11.10 Oneiric Ocelot
Re: How Do I Run a .bat File If Possible?
System76 Darter Ultra gen3, 12″ Glossy LCD
Intel Pentium Core 2 Duo, 2.53ghz
4gb DDR2 SDRAM; 250gb, 7200rpm, SATA HDD
Intel X4500 Graphics Card
Spilled the Beans
Re: How Do I Run a .bat File If Possible?
The syntax of scripts in linux are different.
del is rm
cls is clear
but echo is still echo
u have to create a file with the extension .sh put this as the first line
and then just write the rest like writing a .bat file except with the new syntax
to run the script, just type in
I Ubuntu, Therefore, I Am
Join Date Nov 2007 Location Okieville, USA Beans 3,178 —> Beans 3,178 Distro Ubuntu 10.04 Lucid Lynx
Re: How Do I Run a .bat File If Possible?
Batch files are DOS scripts, they don’t run on Linux. I know, I used to be a pretty darn good batch programmer. The most popular it seems is a BASH script (*.sh). One liners can normally be done in an alias. You just gotta forget about the Microsoft way of doing things.
MCP, A+/Linux+ Certified IT Technician
System Specs | Dress up your «Super Button» FREE
«If sometimes you can’t be good, then be VERY good at being naughty!»
Spilled the Beans
Re: How Do I Run a .bat File If Possible?
Iced Almond Soy Ubuntu, No Foam
Re: How Do I Run a .bat File If Possible?
Apps for Ubuntu (outdated) —> http://cid-23a283fc1010a1bb.skydrive. %20Wine|6?uc=1
Use Mnemosyne to Study for School!
First Cup of Ubuntu
Re: How Do I Run a .bat File If Possible?
supercalifragilisticexpia lidocious
Re: How Do I Run a .bat File If Possible?
From the Ubuntu Forums Code of Conduct.
If a post is older than a year or so and hasn’t had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
- Site Areas
- Settings
- Private Messages
- Subscriptions
- Who’s Online
- Search Forums
- Forums Home
- Forums
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- New to Ubuntu
- General Help
- Installation & Upgrades
- Hardware
- Desktop Environments
- Networking & Wireless
- Multimedia Software
- Ubuntu Specialised Support
- Ubuntu Development Version
- Security
- Virtualisation
- Ubuntu Servers, Cloud and Juju
- Server Platforms
- Ubuntu Cloud and Juju
- Gaming & Leisure
- Emulators
- Wine
- Development & Programming
- Packaging and Compiling Programs
- Development CD/DVD Image Testing
- Ubuntu Application Development
- Ubuntu Dev Link Forum
- Programming Talk
- Repositories & Backports
- Ubuntu Backports
- Bug Reports / Support
- Ubuntu Backports
- System76 Support
- Apple Hardware Users
- Ubuntu Community Discussions
- Ubuntu, Linux and OS Chat
- Recurring Discussions
- Full Circle Magazine
- The Cafe
- Cafe Games
- Market
- Mobile Technology Discussions (CLOSED)
- Announcements & News
- Weekly Newsletter
- Membership Applications
- The Fridge Discussions
- Forum Council Agenda
- Forum Feedback & Help
- Request a LoCo forum
- Resolution Centre
- Ubuntu, Linux and OS Chat
- Other Discussion and Support
- Other OS Support and Projects
- Other Operating Systems
- Ubuntu/Debian BASED
- Debian
- MINT
- Arch and derivatives
- Fedora/RedHat and derivatives
- Mandriva/Mageia
- Slackware and derivatives
- openSUSE and SUSE Linux Enterprise
- Mac OSX
- PCLinuxOS
- Gentoo and derivatives
- Windows
- BSD
- Any Other OS
- Other Operating Systems
- Assistive Technology & Accessibility
- Art & Design
- Education & Science
- Documentation and Community Wiki Discussions
- Tutorials
- Outdated Tutorials & Tips
- Ubuntu Women
- Ubuntu LoCo Team Forums
- Americas LoCo Teams
- Argentina Team
- Software
- Hardware
- Comunidad
- Arizona Team — US
- Arkansas Team — US
- Brazil Team
- California Team — US
- Canada Team
- Centroamerica Team
- Chile Team
- Comunidad
- Hardware
- Software
- Instalaci�n y Actualizaci�n
- Colombia Team — Colombia
- Georgia Team — US
- Illinois Team
- Indiana — US
- Kentucky Team — US
- Maine Team — US
- Minnesota Team — US
- Mississippi Team — US
- Nebraska Team — US
- New Mexico Team — US
- New York — US
- North Carolina Team — US
- Ohio Team — US
- Oklahoma Team — US
- Oregon Team — US
- Pennsylvania Team — US
- Peru Team
- Texas Team — US
- Uruguay Team
- Utah Team — US
- Virginia Team — US
- West Virginia Team — US
- Argentina Team
- Asia and Oceania LoCo Teams
- Australia Team
- Bangladesh Team
- Hong Kong Team
- Myanmar Team
- Philippine Team
- Singapore Team
- Europe, Middle East, and African (EMEA) LoCo Teams
- Albania Team
- Catalan Team
- Portugal Team
- Egypt Team
- Georgia Team
- Ireland Team — Ireland
- Kenyan Team — Kenya
- Kurdish Team — Kurdistan
- Lebanon Team
- Morocco Team
- Saudi Arabia Team
- Sudan Team
- Tunisia Team
- Other Forums & Teams
- LoCo Archive
- Afghanistan Team
- Alabama Team — US
- Alaska Team — US
- Algerian Team
- Andhra Pradesh Team — India
- Austria Team
- Bangalore Team
- Bolivia Team
- Cameroon Team
- Colorado Team — US
- Connecticut Team
- Costa Rica Team
- Delhi Team
- Ecuador Team
- El Salvador Team
- Florida Team — US
- Galician LoCo Team
- Greek team
- Hawaii Team — US
- Honduras Team
- Idaho Team — US
- Iowa Team — US
- Jordan Team
- Kansas Team — US
- Libya Team
- Louisiana Team — US
- Maryland Team — US
- Massachusetts Team
- Michigan Team — US
- Missouri Team — US
- Montana Team — US
- Namibia Team
- Nevada Team — US
- New Hampshire Team — US
- New Jersey Team — US
- Northeastern Team — US
- Panama Team
- Paraguay Team
- Qatar Team
- Quebec Team
- Rhode Island Team — US
- Senegal Team
- South Carolina Team — US
- South Dakota Team — US
- Switzerland Team
- Tamil Team — India
- Tennessee Team — US
- Trinidad & Tobago Team
- Uganda Team
- United Kingdom Team
- US LoCo Teams
- Venezuela Team
- Wales Team
- Washington DC Team — US
- Washington State Team — US
- Wisconsin Team
- Yemen Team
- Za Team — South Africa
- Zimbabwe Team
- Americas LoCo Teams
- Other OS Support and Projects
- Ubuntu Official Flavours Support
Tags for this Thread
Bookmarks
Bookmarks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
vBulletin �2000 — 2023, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical � Canonical Ltd. Tango Icons � Tango Desktop Project.
User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 International License. For details and our forum data attribution, retention and privacy policy, see here