public CommandBuffer applyWindowsMaxProcessLimit() throws IOException {
		String cmd = arguments.get(0).toLowerCase();
		if (cmd.endsWith(".bat") || cmd.endsWith(".cmd")) {
			return applyWindowsMaxCliLimit();
		}
		return applyWindowsMaxLengthLimit(MAX_LENGTH_WINPROCBUILDER);
	}
Determines if it's necessary to switch to an args file depending on the OS
and Shell being used and the command to run.

@return either this <code>CommandBuffer</code> or a new one using an args
        file.
@throws IOException throws an exception if the args file could not be
                    created.
src/main/java/dev/jbang/util/CommandBuffer.java