Home   Help Search Login Register  

Author Topic: Batch files  (Read 1134 times)

0 Members and 1 Guest are viewing this topic.

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Batch files
« on: 23 Apr 2003, 11:37:24 »
in a way this is scripting just not for in game more distubution
please dont del

hi im trying to make an auto install .bat file i have managed to get all the files installing but i need i know how to make the batch file ask yes or no for each file just in case you dont need to install some of the files.

E.G

start the batch file (e.g wizzywig.bat)

then this script is run (this is just a simple one not the on im going to use

Code: [Select]
echo  i need it to ask yes or no at start of each install prosses
rem
rem WIZZYWIG INSTALLER
rem
@echo off
setup.exe
echo --------->>Wizzywig<<---------
echo ------->>is now open<<-------
echo off
folder1\install\file1.exe
folder1\install\file2.exe
folder1\install\file2.exe
folder1\install\intro.exe

then when it is About to install the setup.exe it asks do u wont to continue YES/NO.

if i type yes the program is installed and then moves on to the next install (e.g file1.exe)

Now if i typed no i would like the program to still move on to next file ask again if the file is to be installed.

a basic bat file is needed but i have look across the world for some help and havent had any luck if any one can help me in any way please drop me a pm or email me thanks alot.

wizzywig
« Last Edit: 23 Apr 2003, 11:38:09 by wizzywig »

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:Batch files
« Reply #1 on: 23 Apr 2003, 18:13:11 »
i posted on this forum because .BAT files are quite like a script infact it is a script i just need a littel help

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Batch files
« Reply #2 on: 24 Apr 2003, 00:30:28 »
check this page and read the running different programs bit, I think thats what you need to do, hope that helps.