Thanks Björn.

I have now found a solution which works:

Set objshell = CreateObject("WScript.Shell")

objshell.Environment("process")("prompt") = "$V$_$T$_$P$G"
objshell.CurrentDirectory = "C:\Programme\PostgreSQL\8.0\bin\"
objshell.Run "%comspec% /c Mytext"

Looks always easier in the end!

Rgds

Francois