How do I access a _MAP drive?
I can successfully map T: to //server/share using the _MAP environment variable, but when I try to access T: using if exist T:\web.zip rename T:\web.zip old.web.zip
I get a The system cannot find the drive specified. error. Am I using the _MAP variable correctly?
|
2 answers
hm.. not quite enough info here to help.. but the doc in buildforge for _MAP says
> Drives mapped via the _MAP variable are unmapped on command completion. http://pic.dhe.ibm.com/infocenter/bldforge/v7r1m2/index.jsp?topic=%2Fcom.ibm.rational.buildforge.doc%2Ftopics%2Fenv_task_mapping_windows_drives_t.html |
I found the answer in the Known Problems: Drives mapped with the _MAP trigger variable are not available and the following error message is recorded: "The system cannot find the path specified." Workaround: use the "net use" command in every step the requires access to a mapped drive. Example: net use X:\\server\share |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.