Announcement

Collapse
No announcement yet.

Launch Custom command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Launch Custom command

    I use a variety of applications that allow me to enter (and hotkey) custom commands. For instance, if I want to open a cmd shell in the current working directory, I could hotkey that and just add that to a context menu. Is there a way to do this in BC 3?

  • #2
    Yes, this is possible:
    Go to the Extras menu and there click on Options entry.
    The fifth entry in the opening dialog box is called Open with.
    Here you can define your external applications.

    Hope this helps ...

    Bye
    Christoph

    Comment


    • #3
      Is there a way to launch a command (for instance a cmd shell) without referring to an object reference passed from BC?

      Comment


      • #4
        No, but you can do the following:

        Tools \ Options \ Open With

        Description: Cmd Shell
        Command line: cmd.exe /K cd
        Working folder: <base folder>
        Check the Accepts folders checkbox only.

        Click [New...] button to create a second entry

        Description: Cmd Shell
        Command line: cmd.exe /K rem
        Working folder: <base folder>
        Check the Accepts files checkbox only.

        This will put the Cmd Shell command on all objects (files and folders).
        For folders, the cd command will change directories to the passed in folder.
        For files, the rem command will treat the passed in text as a remark/comment and ignore it.
        BC v4.0.7 build 19761
        ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯

        Comment

        Working...
        X