Tuesday, 6 August 2013

execute user inputed dos (or bash) commands from batch (or bash) file?

execute user inputed dos (or bash) commands from batch (or bash) file?

Ok, so I have this batch script and what I want to happen is that when you
run the script it does some standard stuff like change the path and access
files etc... but after it's done that it goes back to being a normal cmd
prompt/terminal where I can type in commands at free will.
Can this be done (in either dos or bash)? Is there like an execute command
that I can put in an internal while loop or is there a command where when
the scirpt ends it can go back to the normal cmd/terminal?
Thanks in advance.

No comments:

Post a Comment