Results 1 to 5 of 5
Thread: Command Prompts Question
- 03-18-2014, 03:16 AM #1
Señor Member
- Join Date
- Jan 2014
- Posts
- 184
- Rep Power
- 0
Command Prompts Question
I know that this is a Java Forum, but I was hoping that somebody here could direct me toward the right resource.
I'm working on a couple of different things in a couple of different languages. It'd be really handy if I could define a function for my command prompt to open this, this, and that when I type "java" or something else, something else, and that when I type "python" or "octave" or "html" or etc.
Does anybody know how I can go about doing this?
- 03-18-2014, 01:28 PM #2
Re: Command Prompts Question
Use a script or batch file.
If you don't understand my response, don't ignore it, ask a question.
- 03-18-2014, 01:31 PM #3
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: Command Prompts Question
This has to be the most vague problem description this week. "to open this, this and that" - what!?
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 03-18-2014, 03:05 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 29
Re: Command Prompts Question
As Norm already wrote: use a shell and a script or even a dedicated scripting language (you seem familiar with Python but Java like scripting languages also exist (e.g. BeanShell)).
kind regards,
JosBuild a wall around Donald Trump; I'll pay for it.
- 03-18-2014, 09:10 PM #5
Señor Member
- Join Date
- Jan 2014
- Posts
- 184
- Rep Power
- 0
Similar Threads
-
Command line menu question
By Gagnrath in forum New To JavaReplies: 5Last Post: 07-29-2013, 09:52 PM -
Command line question
By dougie1809 in forum New To JavaReplies: 1Last Post: 03-09-2012, 02:40 PM -
Letting my program command the command prompt
By Smokey. in forum Threads and SynchronizationReplies: 4Last Post: 03-30-2011, 12:34 AM -
question with command prompt and Runtime.exec()
By mosquetero in forum New To JavaReplies: 3Last Post: 08-11-2009, 01:08 PM -
Unable to execute command line command in java
By LordSM in forum New To JavaReplies: 1Last Post: 08-08-2007, 01:23 AM
Bookmarks