Windows 7 Forums


Reply
Thread Tools

Where is cmd.exe in Win7?

 
 
StargateFan
Guest
Posts: n/a
Thanked:
 
      09-15-2011
The scripts I use that call for a DOSbox and that have worked in WinXP
don't work in Win7. How does one call a DOSbox programmatically, pls
in Win7?

Thanks.

 
Reply With Quote
 
 
 
 
KCB
Guest
Posts: n/a
Thanked:
 
      09-15-2011

"StargateFan" <IDon'> wrote in message
news:...
> The scripts I use that call for a DOSbox and that have worked in WinXP
> don't work in Win7. How does one call a DOSbox programmatically, pls
> in Win7?
>
> Thanks.
>


If you're using Win7-64 bit, try this: "%windir%\SysWOW64\cmd.exe"


See here:
http://msdn.microsoft.com/en-us/libr...87(VS.85).aspx

 
Reply With Quote
 
BobbyM
Guest
Posts: n/a
Thanked:
 
      09-15-2011
On 15-Sep-11 9:51 AM, KCB wrote:
>
> "StargateFan" <IDon'> wrote in message
> news:...
>> The scripts I use that call for a DOSbox and that have worked in WinXP
>> don't work in Win7. How does one call a DOSbox programmatically, pls
>> in Win7?
>>
>> Thanks.
>>

>
> If you're using Win7-64 bit, try this: "%windir%\SysWOW64\cmd.exe"
>
>
> See here:
> http://msdn.microsoft.com/en-us/libr...87(VS.85).aspx



The easiest way is just type "cmd" in the search bar on the start menu.
To perform some tasks, you'll need to run it as administrator. On
your start menu, click on "accessories, locate "command prompt", right
click & choose "run as administrator".

 
Reply With Quote
 
Stan Brown
Guest
Posts: n/a
Thanked:
 
      09-15-2011
On Wed, 14 Sep 2011 20:51:11 -0400, KCB wrote:
>
> "StargateFan" <IDon'> wrote in message
> news:...
> > The scripts I use that call for a DOSbox and that have worked in WinXP
> > don't work in Win7. How does one call a DOSbox programmatically, pls
> > in Win7?
> >
> > Thanks.
> >

>
> If you're using Win7-64 bit, try this: "%windir%\SysWOW64\cmd.exe"
>
>
> See here:
> http://msdn.microsoft.com/en-us/libr...87(VS.85).aspx


I have 64bit Windows, and plain "cmd" works just fine for me.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Shikata ga nai...
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      09-15-2011
On Thu, 15 Sep 2011 10:07:08 +0900, BobbyM wrote:

> On 15-Sep-11 9:51 AM, KCB wrote:
>>
>> "StargateFan" <IDon'> wrote in message
>> news:...
>>> The scripts I use that call for a DOSbox and that have worked in WinXP
>>> don't work in Win7. How does one call a DOSbox programmatically, pls
>>> in Win7?
>>>
>>> Thanks.
>>>

>>
>> If you're using Win7-64 bit, try this: "%windir%\SysWOW64\cmd.exe"
>>
>>
>> See here:
>> http://msdn.microsoft.com/en-us/libr...87(VS.85).aspx

>
> The easiest way is just type "cmd" in the search bar on the start menu.
> To perform some tasks, you'll need to run it as administrator. On
> your start menu, click on "accessories, locate "command prompt", right
> click & choose "run as administrator".


Note what the OP asked:
"...How does one call a DOSbox programmatically...?" in "The scripts I
use...".

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      09-15-2011
On Wed, 14 Sep 2011 21:13:42 -0400, Stan Brown wrote:

> On Wed, 14 Sep 2011 20:51:11 -0400, KCB wrote:
>>
>> "StargateFan" <IDon'> wrote in message
>> news:...
>>> The scripts I use that call for a DOSbox and that have worked in WinXP
>>> don't work in Win7. How does one call a DOSbox programmatically, pls
>>> in Win7?
>>>
>>> Thanks.
>>>

>>
>> If you're using Win7-64 bit, try this: "%windir%\SysWOW64\cmd.exe"
>>
>> See here:
>> http://msdn.microsoft.com/en-us/libr...87(VS.85).aspx

>
> I have 64bit Windows, and plain "cmd" works just fine for me.


I just tried it, and it works fine here too, also 64-bit Win 7.

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Bob Hatch
Guest
Posts: n/a
Thanked:
 
      09-15-2011
On 9/14/2011 5:08 PM, StargateFan wrote:
> The scripts I use that call for a DOSbox and that have worked in WinXP
> don't work in Win7. How does one call a DOSbox programmatically, pls
> in Win7?
>
> Thanks.
>


I installed DOSbox on the computer, created a shortcut on the desktop
and when I click on the shortcut it opens a cmd window then opens DOSBox.


--
I respect that you have an opinion. Don't confuse that
respect with really giving a crap what it is.
"Anon"
http://www.bobhatch.com
http://www.tdsrvresort.com
 
Reply With Quote
 
Dave \Crash\ Dummy
Guest
Posts: n/a
Thanked:
 
      09-15-2011
StargateFan wrote:
> The scripts I use that call for a DOSbox and that have worked in WinXP
> don't work in Win7. How does one call a DOSbox programmatically, pls
> in Win7?


How about a look at your code? These are snippets from scripts I run
successfully in Windows 7 x64:

from VBS script
Set WshShell = WScript.CreateObject("WScript.Shell")
ret=WshShell.Run("cmd /c ipconfig > ipconfig.txt",0,1)

from HTA script
Set WshShell = CreateObject( "WScript.Shell" )
ret=WshShell.Run("cmd.exe /c bmp2png.exe " & op & " " & fname,0,true)

--
Crash

"Never underestimate the power of the Dark Side."
~ Obi-Wan Kenobi ~
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a
Thanked:
 
      09-15-2011
"Gene E. Bloch" <not-> wrote:

>Note what the OP asked:
>"...How does one call a DOSbox programmatically...?" in "The scripts I
>use...".



But he didn't say what scripting language he's using...

--
Tim Slattery

http://members.cox.net/slatteryt
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      09-15-2011
On Thu, 15 Sep 2011 08:43:44 -0400, Tim Slattery wrote:

> "Gene E. Bloch" <not-> wrote:
>
>>Note what the OP asked:
>>"...How does one call a DOSbox programmatically...?" in "The scripts I
>>use...".

>
> But he didn't say what scripting language he's using...


Must be csh :-)

I do see your point; I had assumed, without thinking, the Windows batch
language :-(

--
Gene E. Bloch (Stumbling Bloch)
 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vertex 2 not detected in Win7 setup, but visible inside Win7 installed on another HD Agent999 Windows 7 Support 3 07-19-2011 01:30 PM
anyone get a xp machine to map drive to win7 bbxrider Windows 7 Support 9 01-11-2011 10:15 PM
XP machines seen from some Win7 machines but not others? masplin General Discussion 1 03-18-2010 03:45 PM
Win 7 32bit to win7 64bit - driver issue pok Installation, Setup and Updates 1 03-16-2010 03:05 AM
Win7 to 2003 std - Interim mode. it-tone General Discussion 1 02-21-2010 01:42 AM


All times are GMT +1. The time now is 11:07 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