CFanatic

Go Back   CFanatic > Programming > C Programming

Join CFanatic Forum Now

Need To Create A Folder topic posted under C Programming which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2010, 08:32 PM
Senior Member
 
Join Date: Feb 2010
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
meyup is on a distinguished road
| More
Need To Create A Folder

I need to create a folder in C using assembler, this is what I have:

union REGS registros;
registros.x.dx = Here I have to put the name of the folder;
//registros.h.ah = 0x57;
int86(0x33,&registros,&registros);

How do I put the folder name if the registre dx is of type integer ?
Reply With Quote
  #2  
Old 03-30-2010, 08:33 PM
pankaj.sea's Avatar
Super Moderator
 
Join Date: Sep 2009
Location: Serampore
Posts: 132
Thanks: 0
Thanked 2 Times in 2 Posts
pankaj.sea is on a distinguished road
| More
Re: Need To Create A Folder

you have to store into dx pointer to the string with folder name.
++++++++
be sure about proper ds value also, as string pointer is ds:dx, and it is strange to me if you are using int 33h, what is DOS mouse functions, if you mean int 33 (without "h") - it would be looking more realistic: int 33 = int 21h, but then ah=57h means "time stamp", while for mkdir has to be ah=39h (39h=57). watch on the details!
Reply With Quote
  #3  
Old 03-30-2010, 08:34 PM
pankaj.sea's Avatar
Super Moderator
 
Join Date: Sep 2009
Location: Serampore
Posts: 132
Thanks: 0
Thanked 2 Times in 2 Posts
pankaj.sea is on a distinguished road
| More
Re: Need To Create A Folder

For those who are interested in interrupt handling with C, more information can be found @
http://gd.tuwien.ac.at/languages/c/p...own/advcw1.htm
http://www.p-dd.com/chapter8-page1.html
Reply With Quote
Reply

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create window e_pech MFC Programming 1 07-25-2008 02:09 AM
how to create edit box control in MDI application Interesttolearn MFC Programming 1 07-08-2008 02:25 AM
Vista and the Temp folder JerryWest Win32 Programming 1 01-24-2007 12:44 PM
Remove complete folder tree pemo Win32 Programming 2 12-10-2006 02:07 AM
SHBrowseForFolder & setting root folder JerryWest Shell Scripting 0 09-30-2006 06:44 PM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 01:46 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board