Function 54h Get Verify State

mov ah, 54h ;Get Verify State

int 21h

mov VerifyFlag, al ;00h = off, 01h = on

Get Verify State (Function 54h) returns the state of the MS-DOS verify flag.

Parameters

This function has no parameters.

Return Value

The AL register contains the state of the verify flag. If this value is 00h, MS-DOS does not verify write operations. If the value is 01h, MS-DOS does verify write operations.

Comment

The write-verify flag is normally off. A program can change this state by using Reset/Set Verify Flag (Function 2Eh); a user can change the state by using the verify command.

See Also

Function 2Eh Reset/Set Verify Flag