Hi all can someone remind me how to Progmatically changing Computers Date ??

I have some ASM code, but it nearly killed my machine when I ran it.....The
code is :-
 Procedure SetDate(Year,Month,Day : Word); Assembler;
  Asm
    mov ah,2Bh
    mov cx,Year
    mov dh,BYTE PTR Month
    mov dl,BYTE PTR Day
    int 21h
  End;


Can anyone help ?

Jeremy Coulter 
Application Developer

Application Development Centre
Compaq Computer New Zealand Ltd.

Phone:          64 3 371 5724 (DD)
Fax:                    64 3 371 5744
Cell:                    021 2150435
E-mail:              [EMAIL PROTECTED]
Private E-Mail:  [EMAIL PROTECTED]
 <<Jeremy Coulter.vcf>> 

Jeremy Coulter.vcf

Reply via email to