Jump to content

What's wrong with this batch file please?

Recommended Posts

I am trying to learn how to create an auto-installation cd and at the 'batch file' stage of the intermediate section this is a sample batch file:

@echo off

title Batch File Testing

echo Hello World


echo Starting MS Paint

start mspaint


echo Starting Wordpad

start Wordpad




The problem is when I run it the two programs just keep opening over and over again and I have to restart the computer because I can't stop them.

Thanks for any advice :)

Link to comment
Share on other sites

Oh no I'm so silly! Ha and I thought my CPU was going to explode as well :w00t:

I had named it mspaint.cmd and I guess that must've just kept opening it because it was called that. I changed it to TestBatch.cmd and everything is cool.

Thanks very much for your help :)

Edited by goosh
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...