Bind save file (Slash Command)

From Unofficial Homecoming Wiki
Revision as of 09:38, 8 July 2012 by imported>Thirty7
Jump to navigation Jump to search

Slash Command

/bind_save_file filename.txt

Creates a file at a location specified by the user. This file will be in text format, and will list all bindings on the current character, one binding per line. Further, the file will be formatted correctly for import using the /bind_load_file or /bind_load commands.

  • Due to limitations of the CoH/V command line parser, pathname must be enclosed in quotes if it contains spaces. Thus /bind_save_file "C:\coh binds\bindfile.txt" would be a valid command, while /bind_save_file C:\coh binds\bindfile.txt would not.
  • The default location, unless a fully defined path is specified, is <COHInstallFolder>\data if it exists, or <COHInstallFolder> if it does not. The \data folder does NOT exist on a default City of Heroes installation, it must be manually created.
  • Pathname may be either a relative or fully defined path:
  • fully defined - C:\cohbinds\bindfile.txt
  • relative - bindfolder\bindfile.txt
    bindfolder\bindfile.txt would be located in the data directory of the install directory (C:\Program Files\City of Heroes\data\bindfolder\bindfile.txt).
  • relative2 - ..\bindfolder2\bindfile.txt
    ..\bindfolder2\bindfile.txt would be located in the install directory, since bindsavefile looks in the data directory (C:\Program Files\City of Heroes\bindfolder2\bindfile.txt).