It's all about the answers!

Ask a question

How to change directory?


Jirong Hu (1.5k9295258) | asked Sep 07 '10, 2:43 p.m.
To make sure a <command) runs from a specific directory, I have to do the following within a step, and I don't like it. Is there any other way to do this? The relative/obsolete path in BF doesn't make much sense to me in this case.

Thanks
Jirong


cd M:\administrator_AOL_TST
M:
<command>

One answer



permanent link
Brent Ulbricht (2.5k11) | answered Sep 08 '10, 9:32 a.m.
JAZZ DEVELOPER
To make sure a <command) runs from a specific directory, I have to do the following within a step, and I don't like it. Is there any other way to do this? The relative/obsolete path in BF doesn't make much sense to me in this case.

Thanks
Jirong


cd M:\administrator_AOL_TST
M:
<command>


Hi Jirong,

I have had this situation too, and have used the method you've already discovered.

One other option you might think about is to create another server with its path set to M:\administrator_AOL_TST . You would also need to create a selector that would choose this server and set the new selector for the step that needs to use drive M: .

bju

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.