Quantcast
Channel: Windows 7 Miscellaneous forum
Viewing all articles
Browse latest Browse all 11372

cmd /c "app.exe" let a "cmd" window opened until the app.exe is closed. In XP, the cmd is closing immediately. How can I do that on my Win7 ?

$
0
0

Hello,

If I run this command on XP and 7, the result is not the same : 

runas /user:login "cmd /c c:\files\application.exe" 

From XP, a CMD.exe is flashing (open and close immediately and then the application is executed).

From Win7, a CMD.exe windows is opening, then the application is executed and the CMD.exe is not closing. It will be closed only when "application.exe" will be closed.

Why it is like this in Win7 and can I change this ? 

Thank you


Viewing all articles
Browse latest Browse all 11372

Trending Articles