Hello,all!
Can someone help me Write a batch file that takes 4 arguments and passes them onto your C program. The C program takes each of the arguments and multiplies that argument by 10.

Example of how this is done:

Z:>SAD1.BAT 3 5 7 8

What will be displayed on the screen to the user is the following:

30 50 70 80

When passing an argument into a batch file use %1, %2, %3 and so on inside the batch file.

So your Z:>SAD1.BAT 3 5 7 8

%1 inside the batch file would translate to your number 3 and so forth.

Hope this makes sense.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.