1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Batch file !!!!

Discussion in 'Windows & Other Software' started by king_kenny, 15 May 2006.

  1. king_kenny

    Gangster

    Joined: 4 Oct 2004

    Posts: 381

    Location: NortH ShieldS !!!!

    Ok peeps, i need to know, How do you create a batch file so every time windows starts up a application like paint or calculator pops up without the user knowing :confused: ?????
    PLEASE PLEASE help me !!!!
    Thanks !!!!
     
  2. Trigger

    Mobster

    Joined: 15 Dec 2004

    Posts: 3,822

    Can you not just put a shortcut to mspaint.exe in the user's startup folder?

    But for reference:

    Code:
    
    @ECHO OFF
    
    CLS
    
    START mspaint.exe
    
    EXIT
    
    
    in notepad then save it as x.bat :)
     
  3. king_kenny

    Gangster

    Joined: 4 Oct 2004

    Posts: 381

    Location: NortH ShieldS !!!!

    Cheers for reply, so the above ^ shizzle ^, when put into a batch file, when windows restarts it will open it up yea :) ????
     
  4. Trigger

    Mobster

    Joined: 15 Dec 2004

    Posts: 3,822

    Only if you put it into the user's startup folder or add it to the runonce key in the registry. Do you want it to start up every time the machine boots or just once?
     
  5. king_kenny

    Gangster

    Joined: 4 Oct 2004

    Posts: 381

    Location: NortH ShieldS !!!!

    every time pc boots ups preferably but if once is easier then ill go with once :) !!!!
     
  6. Trigger

    Mobster

    Joined: 15 Dec 2004

    Posts: 3,822

    Every time will be much easier- just write the batch file as above and copy it into:

    %USERPROFILE%\Start Menu\Programs\Start Up

    :)