I need information about DOS batch script

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

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

2 responses

Richard.Williams Posts 25 Registration date Saturday 7 November 2009 Status Member Last seen 18 July 2012 14
7 Dec 2009 à 09:49
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.
dancedhall Posts 3053 Registration date Wednesday 13 May 2009 Status Member Last seen 12 March 2010 656
12 Nov 2009 à 10:38
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
hi
i know that
what i want is how to make it run automatically -when my PC start- without double click