Server 2008 R2 DOS commands do not natively run in command prompt

We have recently deployed a server with Server 2008 R2.  We have an in-house application that runs on this server. The application essentially loads a .cmd file that allows you to choose options for what you want to do with the program.  We have this application running Server 2008 Enterprise, as well as Server 2003 R2 Enterprise without any problems.  

The issue we are seeing is that when running the program, the command prompt does not recognize standard DOS commands such as choice, net, cscript, netstat, ipconfig, etc...  However, when you specify the path (C:\Windows\System32\) to the command, it works without a problem.

Unfortunately, I do not have another Server 2008 R2 server to test this with, so I am curious to know if this is a known issue or if anyone has any idea how to resolve this.
YouJustTradeAsked:
Who is Participating?
 
t0t0Connect With a Mentor Commented:
right-click My Computer
click Advanced tab
click Environment Variables
double-click Path in System Variables
add C:\Windows\System32\; to the begninning of the line
click OK
click OK
click OK
 
0
 
t0t0Commented:
You need to add 'c:\windows\system32\' to your system's global path setting.
0
 
AkmetraCommented:
Check your PATH variable:

echo %PATH%

Perhaps you've customized it somehow. On my 2008 (not R2) box everything's fine.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
However, this is just a workaround. Windows adds system32 automatically to the path (usually).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.