Skip to main content

Open / Run .bat file on Ubuntu Machine (DOS emulator set default application)

This is a quick procedure on how to run your batch file in Ubuntu Base Machine. (I assume you already have a .bat file.)

  1. Install DOS emulator.
    • sudo apt-get update
    • sudo apt-get install dosemu

  2. Make DOS emulator to be listed on Default Application List by editing the dosemu.desktop file.
    • sudo gedit /usr/share/applications/dosemu.desktop
    • Find the "Exec" variable (i.e, Exec=/usr/bin/xdosemu).
    • Append these characters " %f" at the end of the line (i.e, Exec=/usr/bin/xdosemu %f).
    • Save the document.

  3. Set DOS emulator as a default application for your .bat file.
    • Right-Click .bat file
    • Select Properties
    • Click "Open With" Tab
    • Select "DOS emulator" from list
    • Click "Set as default"
    • Close the properties window

  4. Double-Click your .bat file and you should see that it is run by Dos Emulator.

    •  

Comments

Popular posts from this blog

Bundy Clock Quick Setup Manual for IWATA TIME RECORDER CW-1A, CW-2A, CW-2SA

Recently, I bought IWATA bundy clock for our office and I'm happy because there is a Quick Setup Manual included in the package which is hard for me to find/download from the internet. Then I realized that it might be useful in the future so I decided to upload the manual here. Thanks,

Bundy Clock Set Time (IWATA CW-1A)

if the time is advance    * Press "HO" button once to stop the timer    * Press "HO" button again to start the timer if the time is late    * Press "SY" to add 1 minute UPDATE: I have already a copy of Quick Setup Manual for IWATA Bundy Clock. CLICK HERE

(MYPHONE Ocean Mini) Stuck on Start Logo problem

Option 1: Hard Reset Press Volume UP + Volume Down + Power Button Select Recovery Mode Select Recovery Mode Again Wipe Data/Factory Reset Reboot the Phone If you encountered an error from the above procedure, try option #2 below. Option 2: Firmware Update Download needed files below on your computer and extract into a folder.     Mediatek MT65xx Preloader Driver     SP-Flash Tool v5.1352.01     MyPhone Agua Ocean Mini firmware  or this one  version 1.08 Connect you phone to your computer. ( Open Device Manager. Right-click "MT65XX..." and click "Update Driver Software". Select "Browse my computer for driver software". Click Next, then Finish. Open Mediatek folder the one that you extracted earlier. Open flash_tool.exe from SP Flash Tool folder Browse Download Agent File (i.e, MTK_AllInOnce_DA.bin) from SP Flash Folder Browse Scatter-Loading file (i.e, MT6572_Android_scatter_mt...