Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



2 answers

Permanent link
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

0 votes


Permanent link

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Jul 27 '12, 2:05 p.m.

Question was seen: 4,658 times

Last updated: Aug 28 '12, 10:14 a.m.

Confirmation Cancel Confirm