It's all about the answers!

Ask a question

How do I access a _MAP drive?


Richard Fishback (1154) | asked Jul 27 '12, 2:05 p.m.

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



permanent link
sam detweiler (12.5k6195201) | answered Jul 28 '12, 8:05 a.m.
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

permanent link
Richard Fishback (1154) | answered Aug 28 '12, 10:14 a.m.

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


Register or to post 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.