Click here to Skip to main content
15,890,670 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: About batch file Pin
Rajesh R Subramanian6-Jul-08 21:31
professionalRajesh R Subramanian6-Jul-08 21:31 
QuestionRe: About batch file Pin
Nandu_77b6-Jul-08 22:10
Nandu_77b6-Jul-08 22:10 
AnswerRe: About batch file Pin
Rajesh R Subramanian6-Jul-08 23:23
professionalRajesh R Subramanian6-Jul-08 23:23 
GeneralRe: About batch file Pin
Nandu_77b7-Jul-08 0:01
Nandu_77b7-Jul-08 0:01 
AnswerRe: About batch file Pin
AndreFratelli6-Jul-08 20:06
AndreFratelli6-Jul-08 20:06 
GeneralRe: About batch file Pin
Nandu_77b6-Jul-08 22:04
Nandu_77b6-Jul-08 22:04 
QuestionRe: About batch file Pin
Nandu_77b6-Jul-08 22:14
Nandu_77b6-Jul-08 22:14 
AnswerRe: About batch file Pin
Nandu_77b6-Jul-08 22:21
Nandu_77b6-Jul-08 22:21 
Thanks,

I got the solution, I have use ECHO as shown below.

Forum: Visual C++ / MFC
Subject: Re: About batch file
Sender: Nandu_77b
Date: Monday, July 7, 2008 1:14 AM

Sorry this question and just a general reply, in the above i forgotten to mark as question.

Below is the batch file I created. This batch file is used to run a command line exe which takes some parameters. Most of the time, it works with two parameters one for input file and the other for output file.

For example
C:\>myapp.exe input.txt output.txt.

I am just doing the execution using a below batch file.

REM xxx.bat
@echo OFF
ECHO %1
ECHO %2
ECHO %3
ECHO %4
myapp.exe %*
pause

-Nandu
AnswerRe: About batch file Pin
AndreFratelli6-Jul-08 22:15
AndreFratelli6-Jul-08 22:15 
GeneralRe: About batch file Pin
Nandu_77b6-Jul-08 22:24
Nandu_77b6-Jul-08 22:24 
QuestionDiffcult question Pin
nisha000006-Jul-08 19:11
nisha000006-Jul-08 19:11 
AnswerRe: Diffcult question Pin
AndreFratelli6-Jul-08 19:59
AndreFratelli6-Jul-08 19:59 
GeneralRe: Diffcult question Pin
nisha000006-Jul-08 20:27
nisha000006-Jul-08 20:27 
AnswerRe: Diffcult question Pin
AndreFratelli6-Jul-08 22:31
AndreFratelli6-Jul-08 22:31 
Questionsetting static IP address using win32 API Pin
an896-Jul-08 19:04
an896-Jul-08 19:04 
AnswerRe: setting static IP address using win32 API Pin
marcio k6-Jul-08 20:12
marcio k6-Jul-08 20:12 
AnswerRe: setting static IP address using win32 API Pin
killabyte6-Jul-08 23:23
killabyte6-Jul-08 23:23 
GeneralRe: setting static IP address using win32 API Pin
an896-Jul-08 23:50
an896-Jul-08 23:50 
AnswerRe: setting static IP address using win32 API Pin
Varghese Paul M6-Jul-08 23:29
Varghese Paul M6-Jul-08 23:29 
QuestionPrintPreviewDialog; Pin
Le@rner6-Jul-08 18:40
Le@rner6-Jul-08 18:40 
AnswerRe: PrintPreviewDialog; Pin
bob169726-Jul-08 19:04
bob169726-Jul-08 19:04 
GeneralRe: PrintPreviewDialog; Pin
Le@rner6-Jul-08 19:32
Le@rner6-Jul-08 19:32 
GeneralRe: PrintPreviewDialog; Pin
bob169727-Jul-08 4:03
bob169727-Jul-08 4:03 
QuestionHow to recognize that mouse doesn't move? Pin
Mohammad Khodaea6-Jul-08 18:14
Mohammad Khodaea6-Jul-08 18:14 
AnswerRe: How to recognize that mouse doesn't move? Pin
Naveen6-Jul-08 18:29
Naveen6-Jul-08 18:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.