hello all,
I have a batch file which runs on a w2k server.
i want to automate a backup of a qip dns service
i have a set of commands which need to be typed.
i start off with
isql -Usa -P
then i have to hit the return key
the command prompt window displays a 1>
then i have to type
load -b no_log
then i have to hit the return key
the command prompt window then displays a 2>
then i have to type
go
then i have to hit the return key.
would anyone be able to tell me how to do this in a batch file please?
i have tried "echo" but this doesnt seem to do anything.
I have a batch file which runs on a w2k server.
i want to automate a backup of a qip dns service
i have a set of commands which need to be typed.
i start off with
isql -Usa -P
then i have to hit the return key
the command prompt window displays a 1>
then i have to type
load -b no_log
then i have to hit the return key
the command prompt window then displays a 2>
then i have to type
go
then i have to hit the return key.
would anyone be able to tell me how to do this in a batch file please?
i have tried "echo" but this doesnt seem to do anything.