Search the Community
Showing results for tags '.bat'.
NaJeEb303 posted a topic in Software Chathello everyone, i need some help in a batch script, a very common problem, surfed the internet alot and als0 found many answers but stil didnt get what i'm looking for, so, i have two installers for a program , 32 bit.exe and 64 bit.exe, i want to install the program via batch script to the corresponding OS bit, a batch script that detects if the current windows is 32 bit, then installs the 32 bit setup and vice versa, also i want a flexible script, like if i have a crack for that program and also i want to copy the crack to the program directory after the installed program, so the script must contain a labelled " :x86 " and " :x64 " sections, and after the bit detection the appropriate commands from the corresponding sections should run.. here's a sample script; @ECHO OFF IF EXIST "%programfiles(x86)%" (GOTO 64-Bit) ELSE (GOTO 32-Bit) :32-Bit run 32 bit commands GOTO END :64-Bit run 64 bit commands GOTO END :END but i dont want the end command in the script, because i may add more commands in the same script....! hope you got my point , BATCH Guys :D , help me...!!! :rolleyes: