what do you guys think this line in a batch file would do
java -jar file.jar d %variable% dis_%variable%
help deciphering
Moderator: DosItHelp
Re: help deciphering
It launches file.jar and possibly passes some parameters
Re: help deciphering
im trying to cross engineer this to work with linux, could you help me put with the everything after the jave -jar file.jar, i neeed to know as much about it as posssible so i can match it with a linux command
Re: help deciphering
Linux uses different variables formats, beside the batch files doesn't work on Linux.
unless it's a programming language that work on both windows & Linux , i think cross platform software/script is impossible.
unless it's a programming language that work on both windows & Linux , i think cross platform software/script is impossible.
Re: help deciphering
well im reprogramming it in bash. im sure i can get it to do what it does in windows., thats the beauty of computers
Re: help deciphering
lookyboop wrote:well im reprogramming it in bash. im sure i can get it to do what it does in windows., thats the beauty of computers
I am sure you can but this is for the most part a windows batch file forum. If you need help with bash scripting you will need to find another website to get help from.
Re: help deciphering
The point is that a Windows Java.exe will not run in Linux, will it? Maybe if you have Wine installled...
From a batch perspective
This code:
Will cause the launching of the command line like this:
java -jar file.jar d abc dis_abc
From a batch perspective
This code:
Code: Select all
set variable=abc
java -jar file.jar d %variable% dis_%variable%
Will cause the launching of the command line like this:
java -jar file.jar d abc dis_abc