nandoliveira
Programmer
Hi, I'm new using VB and I need some help creating a little program to make backup of my servers...
My application need to execute some commands in the console, check if they are executed with success or not (register all this in one file) and after close the console, all this should be automatic without need of the user do anything.
So the application should be something like:
--> in the console stop two server [net stop (server name)]
--> if that is successful it will execute other commands... if they are successful other more... and so on...
==>> At the same time i should write in one file something like:
Command XXXX ==>> executed or fail, start processing: 10h30m end processing 11h20m
I never use VB to write and read from the console, so i would be very grateful if someone can help...
Thanks for the attention
My application need to execute some commands in the console, check if they are executed with success or not (register all this in one file) and after close the console, all this should be automatic without need of the user do anything.
So the application should be something like:
--> in the console stop two server [net stop (server name)]
--> if that is successful it will execute other commands... if they are successful other more... and so on...
==>> At the same time i should write in one file something like:
Command XXXX ==>> executed or fail, start processing: 10h30m end processing 11h20m
I never use VB to write and read from the console, so i would be very grateful if someone can help...
Thanks for the attention