Problem with bat files

Page 1 of 2 12 LastLast

  1. Posts : 7
    Windows 7 32bit
       #1

    Problem with bat files


    Every time I open a bat file it only shows me the location were it is I have a bat file that it is supposed to open a game but it doesn't it only shows me the location were it is how can I fix this?
      My Computer


  2. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #2

    Hi,

    Copy and paste the contents of this file, and we can take a look for you.

    Regards,
    Golden
      My Computer


  3. Posts : 7
    Windows 7 32bit
    Thread Starter
       #3

    @echo off
    title ===Simple Minecraft Error Test=== - by Mr_okushama and _303
    echo ===Simple Minecraft Error Test===
    echo.
    echo Starting Minecraft...
    echo.
    java -Xincgc -Xmx1024m -cp "%APPDATA%\.minecraft\bin\minecraft.jar;%APPDATA%\.minecraft\bin\lwjgl.jar;%APPDATA%\.minecraft\bin\ lwjgl_util.jar;%APPDATA%\.minecraft\bin\jinput.jar" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft Playa
    echo.
    echo Finished session
    echo.
    echo.
    echo Right click, Select all,
    echo Press Enter (This will copy the output to your clipboard).
    echo Then paste the result on Pastebin.com - #1 paste tool since 2002!
    echo.
    echo ===========#Risucraft===========
    echo.
    pause
      My Computer


  4. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #4

    Hi,

    I'm not sure that bat file is supposed to open anything. It looks like its designed to spit out some text information to a file, which you then copy and upload somewhere???

    Perhaps you are better off finding out what the bat file is intended to do from the maker.

    Regards,
    Golden
      My Computer


  5. Posts : 7
    Windows 7 32bit
    Thread Starter
       #5

    The bat file is supposed to open minecraft and see if it works
      My Computer


  6. Posts : 5,795
    Windows 7 Ultimate x64 SP1
       #6

    I have to agree with Golden. I see nothing in the .bat file that suggests opening a file or running an executable.
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #7

    double click on the bat file and post a screenshot of what you see
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #8

    @echo off=>suppress command display. Only output is displayed
    title ===Simple Minecraft Error Test=== - by Mr_okushama and _303=>title of dosbox
    echo ===Simple Minecraft Error Test====>echo just displays some text
    echo.
    echo Starting Minecraft...
    echo.
    java -Xincgc -Xmx1024m -cp "%APPDATA%\.minecraft\bin\minecraft.jar;%APPDATA%\.minecraft\bin\lwjgl.jar;%APPDATA%\.minecraft\bin\ lwjgl_util.jar;%APPDATA%\.minecraft\bin\jinput.jar" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft Playa
    echo.
    echo Finished session
    echo.
    echo.
    echo Right click, Select all,
    echo Press Enter (This will copy the output to your clipboard).
    echo Then paste the result on Pastebin.com - #1 paste tool since 2002!
    echo.
    echo ===========#Risucraft===========
    echo.
    pause=>waits until you press any key. It displays "press any key to continue"
    ----------------------
    Only real thing it does:
    java -Xincgc -Xmx1024m -cp "%APPDATA%\.minecraft\bin\minecraft.jar;%APPDATA%\.minecraft\bin\lwjgl.jar;%APPDATA%\.minecraft\bin\ lwjgl_util.jar;%APPDATA%\.minecraft\bin\jinput.jar" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft Playa
      My Computer


  9. Posts : 7
    Windows 7 32bit
    Thread Starter
       #9


    This is what I see when I open any bat file
      My Computer


  10. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #10

    Temporarily remove line @echo off (first line) and run again. Post screenshot
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:37.
Find Us