M
mike
Hi,
I will make a request to an external tool from my java program.It
looks like:
command arg1....argn
The number of arguments can be quite large. The arguments are files
and directories. Let's say that we can have up to 10.000 files and/or
directories. Is it possible to issue the command with a specific
number of arguments until all args have been used. The reason for
doing this is that I dont want to issue the command with 10.000 args.
So my issue is how to split the command issue depending on the number
of args.
All help is greatly appreciated.
br,
//mike
public ArrayList issueCmd(String command,String [] args){
}
I will make a request to an external tool from my java program.It
looks like:
command arg1....argn
The number of arguments can be quite large. The arguments are files
and directories. Let's say that we can have up to 10.000 files and/or
directories. Is it possible to issue the command with a specific
number of arguments until all args have been used. The reason for
doing this is that I dont want to issue the command with 10.000 args.
So my issue is how to split the command issue depending on the number
of args.
All help is greatly appreciated.
br,
//mike
public ArrayList issueCmd(String command,String [] args){
}