| | |
Batch file that takes arguments
![]() |
•
•
Join Date: Jul 2004
Posts: 4
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- Creating a batch file that can pass arguments to another command? (Windows NT / 2000 / XP)
- Passing VBscript varibales to batch file.. (Visual Basic 4 / 5 / 6)
- Pass a text file through a batch file (Visual Basic 4 / 5 / 6)
- getting crazy in trying to run a batch file! (C#)
- How can i suppress a user prompt while running a batch file in windows 2000 machin (Windows NT / 2000 / XP)
Other Threads in the C Forum
- Previous Thread: Thanks to Junior Techie:rishi
- Next Thread: ambigious problem 2nd
| Thread Tools | Search this Thread |
#include * ansi array arrays asterisks bash binarysearch centimeter changingto char character convert copyimagefile cprogramme creafecopyofanytypeoffileinc createprocess() database dynamic execv feet fgets file floatingpointvalidation fork function getlogicaldrivestrin givemetehcodez grade gtkwinlinux hacking histogram ide inches include incrementoperators infiniteloop input interest intmain() iso kernel keyboard kilometer km license linked linkedlist linux list locate looping lowest matrix meter microsoft number oddnumber open opendocumentformat openwebfoundation owf pattern pdf pointer posix power probleminc process program programming radix recursion recv recvblocked research reversing scripting segmentationfault sequential single socket socketprograming socketprogramming standard strchr string suggestions systemcall test threads turboc unix urboc user variable voidmain() wab whythiscodecausesegmentationfault windowsapi





