Current location: Hot Scripts Forums » Programming Languages » Other Languages » [Assembly] How to create and open files


[Assembly] How to create and open files

Reply
  #1 (permalink)  
Old 01-16-10, 05:04 PM
ahmedbj ahmedbj is offline
New Member
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
[Assembly] 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks

Tags
8086, assembly language, file


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
getting perl to create files with russian names squashed Perl 4 03-03-10 11:17 PM
CMS...do u create your own? Or go open source? davestar057 PHP 15 02-17-09 10:14 PM
[SOLVED] Open files outside browser mariowowo ASP.NET 2 06-19-08 10:41 AM
How to create files that Download instead of opening in the browser??? forbiddenpassionfruit Script Requests 7 10-13-06 08:39 AM
Upload Script Problem!!! seanknighton Perl 0 03-21-04 10:54 PM


All times are GMT -5. The time now is 09:22 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.