Command Configuration

Ask how to do things or if a certain feature is available in the program.
Post Reply
lonssx
Posts: 2
Joined: 15 Aug 2017 07:08

Command Configuration

Post by lonssx » 15 Aug 2017 07:12

Hello

Im working with the file editor and i want to be able to compile SQL Code into the Server from the RJ Texted.
I can ejecute sqlcmd correctly, but i would like to send the file path+name as a parameter in the argument list
For example sqlcmd -i C:/mypath/myfile.sql

And be able to see the results.

How can i set the input file to use the current selected file?

User avatar
Rickard Johansson
Site Admin
Posts: 5331
Joined: 19 Jul 2006 14:29

Re: Command Configuration

Post by Rickard Johansson » 16 Aug 2017 09:08

If you add the command as a tool in "Options -> Tools Menu" you can add arguments to the command like "[FilePath]". Just click on the dropdown menu to see all arguments. There are several options in the same window to allow capturing of command output.

lonssx
Posts: 2
Joined: 15 Aug 2017 07:08

Re: Command Configuration

Post by lonssx » 18 Aug 2017 08:13

Thank you, that worked perfectly.

Post Reply