flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
rever0lf
Anyone can help me,, give me a codes that can manipulate hard drive. . .
example,, , , , Codes that can create or delete a folder int drive C: thnx. . . .. nid ASAP |
|||
![]() |
|
ManOfSteel
CreateFile function and DeleteFile function (check the Remarks section).
I'm sure using the forum's search will return many pieces of code. |
|||
![]() |
|
Picnic
CreateDirectory
Here is a small piece of code to get you started ![]() Code: format pe console 4.0 include "include\win32ax.inc" define ERROR_ALREADY_EXISTS 183 .data myDir db "C:\myDir",0 .code main: ; Create a new directory invoke CreateDirectory, myDir, 0 .if ~eax invoke GetLastError ;Possible errors .if eax = ERROR_ALREADY_EXISTS ; handle error .else ; handle error .endif mov eax, 1 jmp .exit .endif xor eax, eax .exit: invoke ExitProcess, eax .end main |
|||
![]() |
|
rever0lf
thnx. . picnic. . .
|
|||
![]() |
|
rever0lf
ca I ask a question?? what is the purpose of invoke? and format PE console 4.0
|
|||
![]() |
|
Overflowz
rever0lf
It's pointing number of Windows version and means which version it supports. 4.0 = Program will run on Windows 95 and above. For more information, check this --> http://www.windows7hacker.com/index.php/2009/08/a-list-of-windows-operating-system-version-number/ |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.