GIDForums  

Go Back   GIDForums > Computer Forums > Computer Hardware Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 19-Jun-2007, 01:35
smitha smitha is offline
New Member
 
Join Date: Apr 2007
Posts: 2
smitha is on a distinguished road
Exclamation

Dos key problem


Hi..
In windows xp, after executing c++ program,Doskey is not working further.
pls give me solution for that.
Thanking u,
--Smitha
  #2  
Old 19-Jun-2007, 13:19
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 4,648
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Dos key problem


Quote:
Originally Posted by smitha
Hi..
In windows xp, after executing c++ program,Doskey is not working further.
pls give me solution for that.
Thanking u,
--Smitha
I find this to be an interesting question, since I haven't used doskey since, well, DOS3.3. I didn't even know that they kept it around. Is the doskey that you are using WINDOWS\system32\doskey.exe? You are using cmd.exe for the command window (not command.com), right?

1. What are you using doskey for?

2. What do you mean 'not working further?' Had you defined macros that got lost? Does it lose its history? What?

3. What is the nature of the C++ file? (Where did it come from? What does it do? Was it compiled with a 16-bit compiler or what?)

4. Exactly what are you doing? (Example: open WINDOWS\system32\cmd.exe window, enter "doskey..." or some such thing on the command line, invoke the C++ compiled program from the command line, then what...)

Regards,

Dave
Last edited by davekw7x : 19-Jun-2007 at 14:27.
  #3  
Old 30-Jun-2007, 02:04
smitha smitha is offline
New Member
 
Join Date: Apr 2007
Posts: 2
smitha is on a distinguished road

Re: Dos key problem


hi,
This s/w is related to Banking. cmd.exe and doskey.exe both are located in c:\windows\system32. We r working under sub directories(i.e. c:\src\sbmod>) created through our s/w. Our source code is in sbmod. Before executing any program here, doskey works but after executing any program/part of s/w, doskey does not work. for example, if v use execution of c++ command ie make filename.exe , then dos key was not working.

Thanks.....
Smitha
  #4  
Old 30-Jun-2007, 07:47
davekw7x davekw7x is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Left Coast, USA
Posts: 4,648
davekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to beholddavekw7x is a splendid one to behold

Re: Dos key problem


Quote:
Originally Posted by smitha
hi,
This s/w is related to Banking.
I am still curious as to what you are using doskey.exe for. Macros or what?

Quote:
Originally Posted by smitha
cmd.exe and doskey.exe both are located in c:\windows\system32.

Since I didn't know you were using make.exe, I didn't know to ask where make.exe is (and where it came from). If you are using a 16-bit make.exe (from a 16-bit compiler like turboc 3.0) then it might screw up cmd.exe to the point where the doskey stuff doesn't work. One clue would be if you were in a directory, say c:\test (and your prompt is C:\test>) and then you executed \tc3\bin\make.exe you might find that your prompt becomes C:\TEST>

If this is the case, then there is no solution other than to get a newer compiler or at least get 32-bit make.exe from who-knows-where. Other 16-bit software can also screw up cmd.exe on Windows XP (at least it does for me --- sometimes).

Regards,

Dave
 
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphic problem in Unreal Tournament 2004 zerox Computer Software Forum - Games 10 09-Oct-2005 12:31
Runtime Problem involving "printf" in C Program supamakia C Programming Language 2 09-Oct-2005 10:09
a significant problem after installing Xp mohammad Computer Software Forum - Windows 10 09-Aug-2005 07:03
String problem vaha C Programming Language 3 24-May-2005 18:21

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:08.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.