Search the Community
Showing results for tags 'run'.
Hello scripters I want to make a console application(cscript.exe) in vbscript but i want to add colors. what i did is, I made an exe named colors.exe, when call this exe in a console window with cmd.exe and give it e.g. these arguments '0A' the next lines are in (green) a different color.Now I want to use vbscript's shell.exec or shell.run to StdOut.Write new lines in the same consolewindow but in diffirent colors. the problem is, how do you execute a new command in the same consolewindow when using cscript.exe or wscript.exec/run? I know you can do multiple commands using the '&' operat