I need information about DOS batch script

Closed
renalte16 - Nov 7, 2009 at 07:18 AM
Richard.Williams Posts 25 Registration date Saturday November 7, 2009 Status Member Last seen July 18, 2012 - Dec 7, 2009 at 09:49 AM
Hello, evry bady

i just want to know how to make a DOS batch script file run automatically ?

2 responses

Richard.Williams Posts 25 Registration date Saturday November 7, 2009 Status Member Last seen July 18, 2012 14
Dec 7, 2009 at 09:49 AM
renalte16 asked
what i want is how to make it run automatically -when my PC start- without double click

You can put the batch script in your start Menu/Programs/Startup folder. To see where this is, right click on the Start, then select Explore. This will execute the batch script every time upon system startup.

If you want to execute this batch script at will, create an icon on your desktop and put the batch file in the executable. Then, each time you double click the icon, that batch file will be executed.

In both case, make sure you specify full patht to the batch file, such as, "C:\My Scripts\my script.bat". Use double quotes if this path contains spaces.
1
dancedhall Posts 3056 Registration date Wednesday May 13, 2009 Status Member Last seen March 12, 2010 655
Nov 12, 2009 at 10:38 AM
hi there,

open a new notepad

type command in it like:

chkdsk

or any other command

then save the file as checkdisk.bat

double click on it for use

Thanks
0
hi
i know that
what i want is how to make it run automatically -when my PC start- without double click
0