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

SONY Ericsson XPERIA E15i (HARD RESET)

METHOD 1: a. Turn off your phone b. Press and hold LEFT, RIGHT and POWER buttons until the factory reset menu appears c. Select Wipe Data d. Reboot/Restart your phone. METHOD 2: (proven effective) a. Download SONY PC COMPANION 2.1 here b. Install it into your PC and run the program c. On "SUPPORT ZONE" panel, click "Start" d. On  "Phone / Tablet Software update", click "Start" e. Click "Repair my Phone / Tablet" f.  Click "Continue" g. Tick the box "I understand.." and click "Next" h. Tick the box "I understood..." and click "Continue" i. Tick the box on "Battery Level Info" and click "Next" j. Select you phone model in the selection and click "Next" h. Connect you phone to PC       h-1. Turn off you phone and wait for 5 seconds      h-2.  Connect your Phone to the PC while pressing the Back Button (Left Button) using USB Cord. i. F...