Where is cmd.exe in Win7?

S

StargateFan

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.
 
G

Gene E. Bloch

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...".
 
B

Bob Hatch

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
 
D

Dave \Crash\ Dummy

StargateFan said:
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)
 
T

Tim Slattery

Gene E. Bloch said:
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...
 
G

Gene E. Bloch

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 :-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top