Thanks!
It works ok, but there is a little problem...
I'm trying to execute "gpresult.exe > 1.txt".
I don't know how to run it and i'm getting error at ">".
It cannot put stream into a file.
My code looks something like that:
Dim aplik as integer
aplik = Shell("""gpresult.exe"" >1.txt", , True)
Użytkownik "Will Gillen" <gi******@nsuok.edu> napisał w wiadomo¶ci
news:eT***************@TK2MSFTNGP09.phx.gbl...
?? use the "Shell" Function in .NET:
http://msdn.microsoft.com/library/de...vafctshell.asp
"Leszek Gruszka" <le******@poczta.onet.pl> wrote in message
news:eK**************@tk2msftngp13.phx.gbl... Hello!
How to run .exe file, that will be in the same directory?