Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assembly Language How to create and open files
02-06-2010, 11:39 PM
Post: #1
Assembly Language How to create and open files
Hello everyone
I'm a begginer in assembly langage, and i'm trying to make a programme that can open, and write on a file.
All is working, i can create and open the file and writte on it. But i noticed that the fil isn't created in the place that i have marked (dir1 db "d:\test.txt") the file is not created in d:\ i tried to change it to "d:\dir\test.txt" but it still not working
But i noticed that there is a folder, in the emulator installation folder c:\emu8086, called vdrive (c:\emu8086\vdrive) that contain other folder called C and another one Called D and my fil is created there in folder c:\emu8086\vdrive\D
I changer the directory to c:\test.txt and my fil was created in c:\emu8086\vdrive\C
So can someone help me ? i wanna open files that are in C:\WINDOWS\ODBC.INI for exemple so i can writte on it....
Sorry for my bad english
and Thank you for taking time to read my post
Another question i wanna know how to change registry values with assembly, because i want that my programme be executed automatically when a user start a session in Windows

thank you
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsDeveloper SolutionReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication