Hi,I need some help for a batch file.a. %CD% does not work with some older versions of Windows NT. Is there some equivalent for this?b. How can we store the output of a COMMAND to a variable e.g. set mycwd=, SINCE the above (a) is not working.Any other more elegant solutions than command output are welcome.Thanks.ShaileshYou can try:set mycwd=.\Not very elegant but effective.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy