Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: About batch file Pin
AndreFratelli6-Jul-08 22:15
AndreFratelli6-Jul-08 22:15 
It opens the file because of these lines:

%1
%2
%3
%4

You should write only:

REM xxx.bat
@echo OFF
myapp.exe %*
pause

If %1 is equal to "input.txt", them writing %1 just like that will open input.txt with the default application (usually notepad).

Hope i'v helped =)

Fratelli
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 
Questionparameter default value Pin
bob169726-Jul-08 18:08
bob169726-Jul-08 18:08 

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.