Question
· Feb 21, 2018

Accessing Caché from windows Command line terminal

Hi,

I would like to know if it is possible to use windows command line , instead of Intersystems Terminal , to connect to Caché and do objectscript commands or  SQL requests  as a client. 

Thank you for your help

Discussion (6)0
Log in or sign up to continue

you can use cterm.exe for this task, so, you can run some script, or routine in Cache

or just run cache.exe directly. 

Microsoft Windows [Version 10.0.16299.248]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\Admin>c:\intersystems\ensemble\bin\cache.exe -sc:\intersystems\ensemble\mgr\

Node: DESKTOP-4IDCEJ0, Instance: ENSEMBLE

USER>

Thank you, Dmitry. But response from irisdb not readable (I am from Russia). 
chcp 1251 not help.
How force IRIS talk on english ?
 

╨Ч╨░╨│╤А╤Г╨╖╨║╨░ ╨┤╨╕╤А╨╡╨║╤В╨╛╤А╨╕╨╕ ╨╜╨░╤З╨░╨╗╨░╤Б╤М ╨▓ 03/04/2020 12:48:53

╨Ю╨и╨Ш╨С╨Ъ╨Ф╨╕╤А╨╡╨║╤В╨╛╤А╨╕╤П 'D:\?раб?тка\05-Cache and Git\\source\cls' ╨╜╨╡ ╤Б╤Г╤Й╨╡╤Б╤В╨▓╤Г╨╡╤В.
╨Ю╨▒╨╜╨░╤А╤Г╨╢╨╡╨╜╨╛ 1 ╨╛╤И╨╕╨▒╨╛╨║ ╨▓╨╛ ╨▓╤А╨╡╨╝╤П ╨╖╨░╨│╤А╤Г╨╖╨║╨╕.
IMPORT STATUS: ╨Ю╨и╨Ш╨С╨Ъ╨Ф╨╕╤А╨╡╨║╤В╨╛╤А╨╕╤П 'D:\?раб?тка\05-Cache and Git\\source\cls' ╨╜╨╡ ╤Б╤Г╤Й╨╡╤Б╤В╨▓╤Г╨╡╤В