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

C / C++ / MFC

 
QuestionRe: About batch file Pin
Nandu_77b6-Jul-08 21:19
Nandu_77b6-Jul-08 21:19 
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 
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
%1
%2
%3
%4
myapp.exe %*
pause

But while executing batch file
xxx.bat input.txt output.txt

It opens the input.txt file and after closing the input.txt file it starts executing the myapp.exe with the given paramters.
I don know how to stop opening the input.txt, so that it will not open the input.txt and rather just executes the myapp.exe with the given parameters. Can you please help me to stop opening the input.txt file while executing the batch file.

Thanks,
Nandu
AnswerRe: About batch file Pin
Nandu_77b6-Jul-08 22:21
Nandu_77b6-Jul-08 22:21 
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 

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.