Thread: Look here

Results 1 to 3 of 3
  1. #1 Look here 
    sex inFamous's Avatar
    Join Date
    Sep 2008
    Posts
    0
    Thanks given
    6
    Thanks received
    4
    Rep Power
    0
    Ok, i want to run my server, when i run it it shows the cmd box in the task bar. is there a way to make the server running but hidden, like not on the task bar.?

    is there like a code i have to put in the batch file? i mean like in the run.bat?
    i'm back...
    Reply With Quote  
     

  2. #2  
    I sfogliare Rune-server ad alta


    Join Date
    Nov 2008
    Age
    27
    Posts
    1,702
    Thanks given
    41
    Thanks received
    18
    Rep Power
    791
    javaw my kind sir.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jul 2008
    Posts
    939
    Thanks given
    0
    Thanks received
    3
    Rep Power
    781
    Put this in:

    Code:
    var WindowStyle_Hidden = 0
    var objShell = WScript.CreateObject("WScript.Shell")
    var result = objShell.Run("cmd.exe /c abc.bat", WindowStyle_Hidden)
    Route your batch file from this:

    abc.bat
    (Basically, just delete that and route it. Remember, route it correctly with the back slashes and the exact location. By the way, I don't take the credit for the code, I got it off a website however I put it into my own words.

    To execute your batch file, you must run the js file and from there, it'll hide the batch file and run it.
    I'm Rog3r, fool.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •