class_docstr: A setting that displays a filesystem path name
      
class_docstr_tok: ["A","setting","that","displays","a","filesystem","path","name"]
docstr: Call this to alter the setting appropriately for batch execution
docstr_tok: ["Call","this","to","alter","the","setting","appropriately","for","batch","execution"]
code: def alter_for_create_batch_files(self, fn_alter_path):
      """Call this to alter the setting appropriately for batch execution"""
      custom_path = self.custom_path
      if custom_path.startswith("\g<") and sys.platform.startswith(
          "win"
      ):
          # So ugly, the "\" sets us up for the root directory during
          # os.path.join, so we need r".\\" at start to fake everyone out
          custom_path = r".\\" + custom_path
  
      if self.dir_choice == DEFAULT_INPUT_FOLDER_NAME:
          pass
      elif self.dir_choice == DEFAULT_OUTPUT_FOLDER_NAME:
          pass
      elif self.dir_choice == ABSOLUTE_FOLDER_NAME:
          self.custom_path = fn_alter_path(
              self.custom_path, regexp_substitution=self.allow_metadata
          )
      elif self.dir_choice == DEFAULT_INPUT_SUBFOLDER_NAME:
          self.custom_path = fn_alter_path(
              self.custom_path, regexp_substitution=self.allow_metadata
          )
      elif self.dir_choice == DEFAULT_OUTPUT_SUBFOLDER_NAME:
          self.custom_path = fn_alter_path(
              self.custom_path, regexp_substitution=self.allow_metadata
          )
  
imports: import os
  import sys
  from ._text import Text
  from .._validation_error import ValidationError
  from ...preferences import ABSOLUTE_FOLDER_NAME
  from ...preferences import DEFAULT_INPUT_FOLDER_NAME
  from ...preferences import DEFAULT_INPUT_SUBFOLDER_NAME
  from ...preferences import DEFAULT_OUTPUT_FOLDER_NAME
  from ...preferences import DEFAULT_OUTPUT_SUBFOLDER_NAME
  from ...preferences import NO_FOLDER_NAME
  from ...preferences import URL_FOLDER_NAME
  from ...preferences import get_default_image_directory
  from ...preferences import get_default_output_directory
  from ...preferences import standardize_default_folder_names
label_desc: Use image node_id 16 for calling the Directory obj's underlying member method code with example usage: obj.alter_for_create_batch_files(fn_alter_path) without return types