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
Comments
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>
Great!
Thank you very much Dmitry
File cache.exe does not exist.
How to do the same in the case of IRIS?
you have two options, instead of cache.exe use irisdb.exe
or use command iris terminal <instancename>
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' ╨╜╨╡ ╤Б╤Г╤Й╨╡╤Б╤В╨▓╤Г╨╡╤В
Open Management portal (guess it is on http://localhost:52773/csp/sys/UtilHome.csp) and switch the local in About menu from English to Russian