Jump to content

Help with NOT accessing command prompt

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Cyberinterion

Cyberinterion

    Newbie

  • Members
  • Pip
  • 2 posts
Hi. Help with my problem?

I'm trying to open up a program on a computer, but the code I used to open it with accesses the command prompt, which unfortunately is disabled by the administrator. The line of code is:

javaw.exe -jar getdown-pro.jar .

I used notepad to write this into a batch file. I then converted it into an executable. Both the batch and the executable are disabled by the administrator. Is there a way to open the program without using the command prompt? :mellow:

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Well, the .jar can be directly opened with the Java interpreter without a script or batch file, although this is the only easy solution you can perform.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
Cyberinterion

Cyberinterion

    Newbie

  • Members
  • Pip
  • 2 posts
How do you write that?

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
You might be able to create a shortcut (right click on desktop, create shortcut), and point it to the javaw program with the appropriate parameters to execute your jar file. This should not use the command line interface unless javaw.exe forces it to run the file.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users