Results 1 to 3 of 3

Thread: Problems with script execution

  1. #1
    Join Date
    Jan 2013
    Location
    Disclosed location
    Beans
    75
    Distro
    Ubuntu 13.10 Saucy Salamander

    Exclamation Problems with script execution

    Hello fellow Ubuntu users, I am running on Ubuntu 12.04, 32-bit. I am having some trouble with executing script I need for rooting my tablet. I followed the instructions as seen on here: http://www.neumrli.com/blog/2012/12/...-onetouch-t10/
    I run the script with ./RunMe.bat but it ends me with message like this:
    Code:
    slayer1@Slayer1-desktop:~/Desktop/root-toolkit$ ./RunMe.bat ./RunMe.bat: line 1: @echo: command not found
    ./RunMe.bat: line 2: COLOR: command not found
    ======================================================================
    = This script will root your Android phone with adb restore function =
    ./RunMe.bat: line 5: syntax error near unexpected token `('
    '/RunMe.bat: line 5: `echo = Script by Bin4ry (thanks to Goroh_kun and tkymgr for the idea)     =
    Does anyone know what is going on and how may I fix it because I could really use help with that.

    My regards, stay brutal.
    Last edited by LinuxUser666; September 28th, 2013 at 07:49 PM.
    Avoid the Gates of Hell. Use Linux.

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problems with script execution

    You can't run Windows scripts on Linux. Ask on that website if there is a Linux version.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Jan 2013
    Location
    Disclosed location
    Beans
    75
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Problems with script execution

    Since nobody had any good idea or suggestion I found out something useful and that is actually working:
    1st thing: install wine
    Code:
    sudo apt-get install wine
    2nd thing you do:
    Code:
     wine cmd
    3rd thing:
    You do
    Code:
     cd path_to_your_script's_dir
    Then you enter your scripts name and execute it.

    My regards, stay brutal.
    Avoid the Gates of Hell. Use Linux.

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
  •