Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
i created a batch file and i'm invoking three
Name: saviorshashi Date: May 12, 2009 at 04:07:52 Pacific OS: Windows XP Subcategory: Batch
Comment:
i created a batch file and i'm invoking three programs in it one by one. but when i click on batch file all three programs are running simultaneously.. so how to execute them one after the other.?
Name: lee123abc Date: May 12, 2009 at 04:52:25 Pacific
Reply:
JUST TYPE THE NAMES OF YOUR PROGRAMS INSTEAD OF THESE ENJOY
@echo off & cls mspaint.exe %1 NOTEPAD.exe %1
0
Response Number 2
Name: saviorshashi Date: May 12, 2009 at 22:08:01 Pacific
Reply:
first program is writting an xml file. second one is java program to read that file. third one is updating excel sheet based on the execution (result) of java program..
0
Response Number 3
Name: lee123abc Date: May 13, 2009 at 05:04:04 Pacific
Reply:
@echo off & cls
::PROGRAM 1 notepad.exe %1
::PROGRAM 2 - will only run when program 1 has been closed mspaint.exe %1
::PROGRAM 3 - will only run when program 2 has been closed calc.exe %1
::As you can see these are examples. :: replace notepad.exe mspaint.exe and calc.exe :: with YOUR program names. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: If you are still stuck, then maybe someone with better knowledge can help you out. :: because this works for me. (Maybe I am missing something?!) :: Good Luck
0
Response Number 4
Name: lee123abc Date: May 13, 2009 at 05:05:46 Pacific
Reply:
mate, copy what I wrote into 3programs.bat
then double click the bat file and it shouldd open one program at a time.
then replace my program names with your program.... I hope this helps.
0
Response Number 5
Name: lee123abc Date: May 15, 2009 at 05:02:06 Pacific
Reply:
maybe this could help you out. It is a bit easier:
Summary: I would like to create a batch file that will add an additional 1 to the front of an existing 8 digit text file,i.e... 11062169.txt-->111062169.txt 09524659.txt-->109524659.txt 65409995.txt-->16540999...
Summary: Hi, FYI, I have a txt file(abc.txt) that contains a column of logon names. I need to create a batch file that read that file and then for each of the name run this command: "net user [logon names] |f...
Summary: Hello, I want to create an exe file from a batch file and 2 other exe file. How can I do this? I want it so that when I click the exe it runs the batch file and it can still do things with the other 2...