Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Watz the use of "!" in a Ms-Dos batch fi  (Read 2340 times)

0 Members and 1 Guest are viewing this topic.

phanisv

  • Guest
Watz the use of "!" in a Ms-Dos batch fi
« on: May 11, 2005, 11:50:40 PM »
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
Phani

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Watz the use of "!" in a Ms-Dos batc
« Reply #1 on: May 12, 2005, 04:18:12 PM »
What 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.  8)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein