S
S
sbh2015-09-28 09:46:29
cmd/bat
sbh, 2015-09-28 09:46:29

Complexity with the script, how to pass the command?

It is necessary in the script to transfer commands for execution to another interpreter.
The bottom line is, I write to connect to the cmd interpreter, a connection window opens and it waits for commands. How to transfer them there using a script? (vbs, bat)
After the command to launch the interpreter, a console window of the form opens:
Interpretator>
And then it waits for the command.
If you write a list of commands in the bat-nickname, then only the first one that actually launches the interpreter is executed.
I hope the essence of the issue described clearly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2015-09-28
@sbh

as an option, try to run the "interpreter" and pass it a file with commands as an input.
will it just process it?
interpretator.exe < file_s_komandamy.txt
in general, read about your interpreter - these are its limitations, not the command line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question