It seems as if this should be easy but I'm having no luck so far...

My company has a number of dos-based utilities which I would like to invoke in a VB(6) program, then redirect the output to a text file. I keep getting 'file not found' even though I have the correct path. To make sure our utilites weren't causing the problem, I tried the following lines, which also resulted in a 'file not found' error:

DosLine = "dir > d:\vbtest.tmp"
Holder = Shell(DosLine, vbMaximizedFocus)

It doesn't matter if vbtest.tmp already exists or not. Does anyone know a way to resolve this problem?

Ken Franklin
[email protected]