code: def cmd_exe_quote(arg):
      """Quotes an argument in a cmd.exe compliant way."""
      arg = argvquote(arg)
      cmd_exe_metachars = '^()%!"<>&|'
      for char in cmd_exe_metachars:
          arg.replace(char, "^" + char)
      return arg
  
imports: import os
  import json
  import re
  import inspect
  import textwrap
  from itertools import chain
  import collections
  import multiprocessing
  import string
  import shlex
  import sys
  from urllib.parse import urljoin
  from snakemake.io import Namedlist, Wildcards
  from snakemake.common.configfile import _load_configfile
  from snakemake.logging import logger
  from snakemake.common import ON_WINDOWS
  from snakemake.exceptions import WorkflowError
  from snakemake.io import regex_from_filepattern
label_desc: Use image node_id 14 for calling a global function with example usage: cmd_exe_quote(arg) and returns: arg