Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: running programs at start-up  (Read 4407 times)

0 Members and 1 Guest are viewing this topic.

Dark Blade

    Topic Starter
  • Forum Gaming Master


  • Adviser

    Thanked: 24
    • Yes
  • Experience: Experienced
  • OS: Windows XP
running programs at start-up
« on: April 27, 2007, 12:03:47 AM »
I know how to run programs at start up using Command Prompt, but is it possible to make a program that asks the user if they want to open that program?

contrex

  • Guest
Re: running programs at start-up
« Reply #1 on: April 27, 2007, 12:25:55 AM »
If you have Win 95/98/ME you have choice.exe already. If not, download it from one of a zillion places and put it on your PATH somewhere.

look here for some clues...

http://www.google.com/search?source=ig&hl=en&q=download+CHOICE.EXE&meta=

Example code showing how to optionally launch Internet Explorer from a batch file, quitting the batch file without waiting for IE to finish...

Code: [Select]
@echo off
cls
choice /N "Do you want to run Internet Explorer (Y/N) ?"
if errorlevel 2 goto no
if errorlevel 1 goto yes
:yes
start "" "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
:no
exit



« Last Edit: April 27, 2007, 01:45:13 AM by contrex »

WillyW



    Specialist
  • Thanked: 29
  • Experience: Experienced
  • OS: Windows XP
Re: running programs at start-up
« Reply #2 on: April 27, 2007, 11:46:19 AM »
If you have Win 95/98/ME you have choice.exe already. If not, download it from one of a zillion places and put it on your PATH somewhere.

look here for some clues...

http://www.google.com/search?source=ig&hl=en&q=download+CHOICE.EXE&meta=
...


And here:

http://hp.vector.co.jp/authors/VA007219/dkclonesup/choice.html


.



Dark Blade

    Topic Starter
  • Forum Gaming Master


  • Adviser

    Thanked: 24
    • Yes
  • Experience: Experienced
  • OS: Windows XP
Re: running programs at start-up
« Reply #3 on: April 27, 2007, 06:47:51 PM »
Thanks, it worked.