In a batch file I frequently use CMD at the end to stop the command window from closing.
I like to see the command prompt at the end of the window.
When I use:
Code: Select all
@cmd
Code: Select all
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\>
Code: Select all
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
Code: Select all
echo off & (cmd) & echo on
I realize if I use:
Code: Select all
cmd>nul
Thanks,
Docfxit