Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9903
    ArthurZ
    Participant

    I am able to successfully pass a SQL file from say ConText editor using its “Tools” facilities, not so from EmEditor.
    Steps to repro:

    1) Create and save a SQL file that encompasses code as

    USE SandBoxDb;
    GO

    /* This is a test */
    SELECT Top 1 *
    FROM test;
    GO
    2) Configure a new tool to launch
    C:Program FilesMicrosoft SQL Server100ToolsBinnSQLCMD.EXE

    See the rest of the setup in this image: http://www.box.com/s/6n28qruy38ehqvxnqt85

    An attempt to run produces an error:

    —————————
    EmEditor
    —————————
    The directory name is invalid.

    C:Program FilesMicrosoft SQL Server100ToolsBinnSQLCMD.EXE
    —————————
    OK
    —————————

    Please note this directory is fine.

    Hint: the spaces in the path cannot be tolerated.

    #9904
    Yutaka Emura
    Keymaster

    Hello ArthurZ,

    The Initial directory should be “$(Dir)”, not “$(Path)”.

    Thanks!

    #9905
    ArthurZ
    Participant

    Correct! Thank you.
    Problem solved.
    Apologize, this is not a bug, please delete or move this post.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.