TechSpot

help me create a batch file in XP

By clandy
Jul 6, 2004
Post New Reply
  1. Hi
    Creating batch files that execute when computer
    booted was easy in dos...but now I need the same
    functionality in XP.

    I went to cmd.exe and created a
    text transfer that worked fine..
    however, how do I let the computer
    do my bidding at startup?

    Lets say: delete a line( if present) in
    my temporary Internet files everytime I boot up.
    Is that possible?

    How and where do I create it?

    Thanks !
    respond to:-
    cyelandy@hotmail.com
     
  2. Nodsu

    Nodsu TS Rookie Posts: 9,431

    You create a .bat or a .cmd file and add a shortcut to it in your Start->Prorams->StartUp folder. Or add a corresponding entry in registry (a new string under HKLM\software\microsoft\windows\currentversion\run).
     
  3. LNCPapa

    LNCPapa TS Special Forces Posts: 4,371   +289

    Nod hit it on the money clandy. What I typically do is create a Scripts folder, drop all my .bat and .vbs scripts there, and link from there. Things I need in startup are linked from either startup or the registry where Nodsu said, and things that I need timed otherwise are linked from Control Panels>Scheduled Tasks.
     


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.