In vbscript, how do I run a batch file or command, with the environment of the current cmd prompt window?

I don't think you can; your vbscript runs under a script host engine (such as cscript. Exe or wscript. Exe ), and batch files are interpreted by the command interpreter (typically cmd.

Exe ). Both are separate executables and neither is, to my knowledge, available as an in-process library, so you cannot interpret . Vbs and .

Cmd files within the same process. I also highly doubt that the script host engine that is running your VBScript also could run the batch file in its parent cmd. Exe - I don't think you can 'inject' a new batch file into a running cmd.exe.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions