Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Data structure to be used ??? Pin
David Crow5-Feb-04 3:16
David Crow5-Feb-04 3:16 
GeneralRe: Data structure to be used ??? Pin
Jagadeesh VN5-Feb-04 18:23
Jagadeesh VN5-Feb-04 18:23 
GeneralRe: Data structure to be used ??? Pin
David Crow6-Feb-04 2:33
David Crow6-Feb-04 2:33 
GeneralArgument list to the batch file Pin
PrashantJ4-Feb-04 23:16
PrashantJ4-Feb-04 23:16 
GeneralRe: Argument list to the batch file Pin
Diddy4-Feb-04 23:27
Diddy4-Feb-04 23:27 
GeneralRe: Argument list to the batch file Pin
PrashantJ4-Feb-04 23:59
PrashantJ4-Feb-04 23:59 
GeneralRe: Argument list to the batch file Pin
David Crow5-Feb-04 3:22
David Crow5-Feb-04 3:22 
GeneralRe: Argument list to the batch file Pin
Diddy5-Feb-04 11:15
Diddy5-Feb-04 11:15 
No...

Save this as test.bat:

@echo off
@echo %0
:again
if {%1}=={} goto :EOF
@echo %1 %2 %3 %4 %5 %6 %7 %8 %9
shift
goto again

Then execute "test.bat a b c d e f g h i j k l m n o p q r s t u v w x y z"

And you will see it prints out all 26 paramaters. You can only directly refer to the first 9, 10 including the file name, but you can shift more in. See here http://www.jsiinc.com/SUBN/tip6700/rh6792.htm.

The only limit AFAIK is the "%*" will only pass the 9 parameters, so you can't pass more than 9 to say another batch file, unless you shift each one in and call setlocal to assign them their own local variable, then pass all of them.
GeneralRe: Argument list to the batch file Pin
David Crow13-Feb-04 4:40
David Crow13-Feb-04 4:40 
Generalhello world Pin
warbosspeter4-Feb-04 23:09
warbosspeter4-Feb-04 23:09 
GeneralRe: hello world Pin
Diddy4-Feb-04 23:30
Diddy4-Feb-04 23:30 
GeneralRe: hello world Pin
sps-itsec465-Feb-04 1:17
sps-itsec465-Feb-04 1:17 
GeneralRe: hello world Pin
papaya_zm5-Feb-04 1:18
papaya_zm5-Feb-04 1:18 
GeneralRe: hello world Pin
David Crow5-Feb-04 3:24
David Crow5-Feb-04 3:24 
GeneralRe: hello world Pin
Mike Dimmick5-Feb-04 1:44
Mike Dimmick5-Feb-04 1:44 
GeneralSupport for quick time and real video Pin
rrrado4-Feb-04 22:55
rrrado4-Feb-04 22:55 
QuestionWhat does this mean ?? Pin
Cedric Moonen4-Feb-04 22:27
Cedric Moonen4-Feb-04 22:27 
AnswerRe: What does this mean ?? Pin
wb4-Feb-04 22:32
wb4-Feb-04 22:32 
AnswerRe: What does this mean ?? Pin
Prakash Nadar5-Feb-04 0:09
Prakash Nadar5-Feb-04 0:09 
GeneralRe: What does this mean ?? Pin
Cedric Moonen5-Feb-04 1:09
Cedric Moonen5-Feb-04 1:09 
GeneralRe: What does this mean ?? Pin
Prakash Nadar5-Feb-04 3:27
Prakash Nadar5-Feb-04 3:27 
GeneralRe: What does this mean ?? Pin
Ravi Bhavnani5-Feb-04 2:07
professionalRavi Bhavnani5-Feb-04 2:07 
GeneralDisabling Menu Items..! Pin
Halloko4-Feb-04 22:07
Halloko4-Feb-04 22:07 
GeneralRe: Disabling Menu Items..! Pin
Roger Allen4-Feb-04 23:24
Roger Allen4-Feb-04 23:24 
GeneralRe: Disabling Menu Items..! Pin
Halloko5-Feb-04 6:08
Halloko5-Feb-04 6: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.