Windows 7 Forums


Windows 7: Help bat file to execute a bat

11 Jan 2011   #1

32bit windows 7 ultimate
 
 
Help bat file to execute a bat

Hi everyone hope everyone in good health and have a good year. I need help please to make a bat file which works like a emulator or frintend to execute othe bat files. I've searched everywhere but cannot find a tutorial. Can some one please kind enough to help me. I understand it's not related to windows. My files are located in c program files and gave no idea how to go around it thank you!

My System SpecsSystem Spec

11 Jan 2011   #2

Windows 7 Ultimate 64bit (Build 7600)
Wales
 
 

Have a looky over here pal

Creating Batch files
My System SpecsSystem Spec
11 Jan 2011   #3

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by ali2k1 View Post
Hi everyone hope everyone in good health and have a good year. I need help please to make a bat file which works like a emulator or frintend to execute othe bat files. I've searched everywhere but cannot find a tutorial. Can some one please kind enough to help me. I understand it's not related to windows. My files are located in c program files and gave no idea how to go around it thank you!
One batch file can call another by using the CALL statement. For example:

A.BAT:
Code:
@echo off 
echo Batch File A
B.BAT:
Code:
@echo off 
echo Batch File B 
call a

If B.BAT is run from the command prompt, you'll get the following output:

Help bat file to execute a bat-image1.jpg
My System SpecsSystem Spec
.


11 Jan 2011   #4

32bit windows 7 ultimate
 
 

I was looking at that tutorial but when I tried it, it says c program not found. Anyway this is what I'm trying to do but it's not working
Create a launcher.bat file with "START %1" in it
Make a new directory for all your PC Games batch files
For each game you have, create another .bat file containing START "C:\\pathtomygame.exe"
In ALA, add an emulator/rom launcher that runs launcher.bat, with the rom path to where all your .bat files are.

The thread is dead but this doesn't work.

Thank you for all your help
My System SpecsSystem Spec
Reply

 Help bat file to execute a bat problems?



Thread Tools



Similar help and support threads for: Help bat file to execute a bat
Thread Forum
Solved Can't execute .exe file because lack of permission Gaming
execute a .bat and .exe file as administrator once for all System Security
Solved Renamed new text file too .reg but it won't execute, why is this? General Discussion
Shell Execute Failed Code on Network File ? Software
Windows Log Software - File Copy, Execute, Delete etc Software


All times are GMT -5. The time now is 09:45 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32