Bind save file silent (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Rugiel (historical)
(Root directory structure has changed, file now reads from <installdir>\data\)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
==Slash Command==
== Slash Command ==
{{SlashCommandArticle|command=bind_save_file_silent|options=filename.txt|note=Creates a file at a location specified by the user but does not display the confirmation message. 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 {{slashcommand|bind_load_file}} or {{slashcommand|bind_load}} commands.
{{SlashCommandArticle|command=bind_save_file_silent|options=filename.txt|note=Creates a file at a location specified by the user but does not display the confirmation message. 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 {{slashcommand|bind_load_file}} or {{slashcommand|bind_load}} commands.


Line 11: Line 11:
:*: ..\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).}}
:*: ..\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).}}


{{Bind Commands NavBox}}


{{Navbox Binds}}
[[Category:Bind Commands]]
[[Category:Slash Commands]]
[[Category:Slash Commands]]

Latest revision as of 14:19, 28 December 2022

Slash Command

/bind_save_file_silent filename.txt

Creates a file at a location specified by the user but does not display the confirmation message. 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_silent "C:\coh binds\bindfile.txt" would be a valid command, while /bind_save_file_silent C:\coh binds\bindfile.txt would not.
  • 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).