Windows 7 Forums


Reply
Thread Tools

forcedos.exe in W7?

 
 
dwknoble dwknoble is offline
New Member
Join Date: Oct 2010
Posts: 2
Thanked: 0
 
      10-25-2010
I am trying to use the Microsoft c6.0a compiler in a dos window in a W7pro OS. In XP, the program forcedos.exe was required. (W2000 runs it ok, as does DOS.) This compiler is robust, and I'd like to keep using it for c.

Microsoft tech forums have nothing on it for W7 -- only XP.

Any suggestions?
 
Reply With Quote
 
 
 
 
Nibiru2012 Nibiru2012 is offline
Quick Scotty, beam me up!
Nibiru2012's Avatar
Join Date: Oct 2009
Location: Planet X
Posts: 4,851
Thanked: 1073
 
      10-25-2010
I would say that if you can't find any help at the MS Tech forums, then you're probably out of luck.
 
Reply With Quote
 
clifford_cooley clifford_cooley is offline
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,509
Thanked: 930
 
      10-25-2010
Hi dwknoble - Welcome to w7forums

Quote:
Forcedos

Starts the specified program in the MS-DOS subsystem. This command is necessary only for those MS-DOS programs not recognized as such by Windows XP.
Syntax

forcedos [/d directory] FileName [parameters]
Read more here - http://technet.microsoft.com/en-us/l.../bb490640.aspx

That would be outdated software needing extra support to run in XP. Seeing how Windows 7 has what is called XP Mode to run older XP application that would not normally run in Windows 7, I don't see Windows 7 having such support for anything older.

You could try using XP Mode and then using Forcedos within an XP virtual machine. Keep in mind you will need Windows 7 Professional or Ultimate to take advantage of XP Mode.
 
Reply With Quote
 
dwknoble dwknoble is offline
New Member
Join Date: Oct 2010
Posts: 2
Thanked: 0
 
      10-25-2010
I turns out that a "temp" directory is required for the compiler, and it, apparently, cannot create that directory under W7 dos. Creating a temp directory solves the problem, and forcedos.exe is not required when using a .mak file.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      10-26-2010
Just FYI, it is my understanding, there is no longer native DOS in W7 (nor Vista I believe), ie Windows no longer sits on top of a DOS environment. All DOS commands in a "command prompt" window are now emulated by the Windows OS.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 10:06 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33