1.

Solve : Watz the use of "!" in a Ms-Dos batch fi?

Answer»

Hi

I am phani, While looking at one of the batch file provided by a vendor I observed two things.

reparg modlib.tmp modlib1.tmp !libname! %3\%1

from the above expression, I would like to know what the reparg does and what is the use of !libname! What actually does they mean.

It would be a great help if any one can help me.

Thanks
PhaniWhat vendor? What software? Google turned up nothing definitive for 'reparg', so I guess it's a program used for whatever software we're not discussing. The rest are just arguments for the reparg program. %1 and %3 will RESOLVE to values passed along the command line or values passed with a call.

! has no meaning in batch language, except in set (XP, maybe 2K). !libname! MIGHT be the target of a global search and REPLACE the user has to SETUP before running. Then again it could be anything.

Your manual would be the best source of information.

Good luck.



Discussion

No Comment Found