Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Help bat file to execute a bat

11 Jan 2011   #1
ali2k1

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
PooMan UK

Windows 7 Ultimate 64bit
 
 

Have a looky over here pal

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

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:

Name:  Image1.jpg
Views: 4
Size:  19.5 KB


My System SpecsSystem Spec
.

11 Jan 2011   #4
ali2k1

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




Thread Tools




Similar help and support threads
Thread Forum
Execute Program in Batch File As Administrator (Or Other Solution)
We use a program called TFC.exe (Temp File Cleaner - addpcs.com) to wipe all sorts of temp files off a computer on a monthly basis. The older version was a standalone .exe that users used to execute from a a folder on a server. The newer version is actually installed on each user's PC. If...
General Discussion
Won't execute file explorer to upload files/pictures
Internet Explorer, Chrome, Firefox, ect. No matter which I use, when I want to upload a file via a web based from and asked to browse for a file, the window never opens. The file explorer window never opens to allow me to browse for a file. This has been going on for a while now, my restore...
General Discussion
Can't execute .exe file because lack of permission
Hello, I'm running Windows 7 Premium 64bit. I am the only user and thus also the administrator. Now I'm trying to install a game using the .exe, but than I get this error: Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the...
Gaming
execute a .bat and .exe file as administrator once for all
hello, Once i double click on bat file, a new program .exe is launched and receive a msg asking if i allow the program to modify my computer. I click yes, and my short life continues... Any clue what can be done to remove this msg once for all for this program ? After right click on .bat...
System Security
Renamed new text file too .reg but it won't execute, why is this?
I need to add this registry Windows Registry Editor Version 5.00 "MaxSPIEntries"=dword:00000200 I created a new text document and pasted it in then I saved and renamed the file .reg and double clicked it, it just opens though and will not add to the registry. Whats the problem? :geek:
General Discussion


Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 17:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App