i am using at the moment psloglist.exe from sysinternal.com to dump the eventlogs to text files.
Now i can get it to work in the dos box but i am now trying to get it running in a little vb6 app.
I have comand button on a form, and i am using hte shell command but it is not creating my file.
I need my appklication to complete the dumps for me automatically.
this is the syntax i am using fro the dos box
c:\psloglist.exe -s >> c:\TApp.txt Application
this works great and creates the text delimeted file for me
this is the syntax in vb i am batling with
dim bob as double
bob = shell("c:\psloglist.exe -s >> c:\TApp.txt Application",1)
for somereason it is not creating the file at all