Which (GPL)

"Which.bat" is Windows batch program that output the full executable path if found. It does the same thing that the UNIX "which" command performs:

"Which.bat" takes one or more arguments. For each of its arguments it prints to stdout the full path of the executables that would have been executed when this argument had been entered at the shell prompt. It does this by searching for an executable or script in the directories listed in the environment variable PATH."

"Which.bat" takes advantage of the following batch files. They are also available on this web site. So to use "Which.bat", you'll have to download these other batch scripts, if you don't already have them.

GetTempPathName.batSetNumberOfArguments.batSetVariableToOutput.bat

"Which.bat" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. If you make changes to this batch file, please feel free to upload it back here to share it with others.

Title:Could not reserve enough space for 2097152KB object heapWeblog: GearHack Excerpt: Today, I tried to start up the Minecraft server for my kids. I had already set it all up in a script, which I can just double-click to start. But the Minecraft server didn't start. Instead, I got the following Java error message: Error occurred during initialization of VM Could not reserve enough sp . . . Tracked: Sat, 31 Jan 2015 22:13:23 +0300