Implementation of PRePTagEXEC

    This is a subclass of PRePTagCode which will call a DOS batch file with a specified argument. It will examine the errorcode the DOS program returned with. It needs four arguments. For further information see chapter "The EXEC tag".

    Constructor:

    PRePTagEXEC()
    names the tag "EXEC"

    Methods:

    compile(Session)
    makes a DOS batchfile and a textfile with the value of the arguments as content and executes the batchfile with the textfile as argument

    fileMaker(Session session, String strPrefix, String strSuffix, File fileDirectory)
    creates a file with the specified prefix and suffix in the file directory. The session is needed for the exception list.

    writeTextToFile(PRePTag prepTag, Session session, File file)
    writes the arguments as contents into the specified file

    Related sites:
How the EXEC Tag works
Back