Всем привет. Начал писать на асме, но возник вопрос: как удалить файл (использую Flat Assembler). Написал код, но не работает он:
format PE GUI 4.0
include '%include%/win32ax.inc'
.data
sFile DB 'C:\file.txt',0
.code
start:
push offset sFile
call DeleteFileA
push 0
call ExitProcess
.end start
Как же удалить файл?