Jump to content

Event Viwer


ter-pierre
 Share

Recommended Posts

I'd say that's probably why you're getting an empty file :ph34r:

I don't know dumpel/dompel .. but the general rule for a commandline app is: get the parameters and syntax right, by experimenting at the DOS prompt; then paste that into AU3.

When you execute from AU3, you would use Run (or RunWait, depending on your needs) .. eg:

;launch a DIR command to list all child ini files
    $sCMD = "dir /s/b *.ini>c:\~inifiles.lst"
    $sPath = "C:\WINNT\"
    RunWait(@COMSPEC & " /c " & $sCMD, $sPath, @SW_HIDE)

However .. you might run dumpel like this though (note that @COMSPEC is not used here):

;you'd need to get satisfactory results from the DOS prompt first;o)
    $sCMD = "dumpel -f c:\event.log -l system -m rdr -e 2022"
    $sPath = "C:\WINNT\" ; .. might not even need this, depending on where dumpel.exe sits
    RunWait($sCMD, $sPath, @SW_HIDE)

HTH :(

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...