Why does the batch file have start CMD ?




*ASB
**http://XeeMe.com/AndrewBaker* <http://xeeme.com/AndrewBaker>*
**Providing Virtual CIO Services (IT Operations & Information Security) for
the SMB market…***




On Tue, Jun 18, 2013 at 4:48 PM, J- P <jnat...@hotmail.com> wrote:

> Hi all,
>
> As way  to quickly retrieve computer serial numbers I have a batch file on
> the server that contains this command ;
>
> start cmd.exe /k  wmiC bios get serialnumber
>
> I want to also add the ability to get the computer name which I can get by
> running this
>
>  wmic computersystem get name
>
> what I can't figure out is how to put them both into a single file so that
> the user can get the name and serial number
>
>
> any thoughts  would be appreciated
>
>
> thanks
>

Reply via email to