Hi, I need to run a particular command "cleartool des " from a partiuclar folder. For example: I need to get into directory m: cd \ Arun_Main and then run cleartool des $temp .
I wrote the following code for this foreach $temp(@vob2) { qx(m: cd \\Arun_Main); $x = qx(cleartool des $temp); $hash{$temp} = $x; } I ran this code from command prompt c: But the above code seems to act the following way: It goes into dir Arun_Main in line 3. But comes back to c: in line 4 and tries to run the command cleartool des $temp from c: instead of m: cd \\Arun_Main. Can anyone please help me out to sort this problem ? Whilst this email has been checked for all known viruses, recipients should undertake their own virus checking as Xansa will not accept any liability whatsoever. This email and any files transmitted with it are confidential and protected by client privilege. It is solely for the use of the intended recipient. Please delete it and notify the sender if you have received it in error. Unauthorised use is prohibited. Any opinions expressed in this email are those of the individual and not necessarily the organisation. Xansa, Registered Office: 420 Thames Valley Park Drive, Thames Valley Park, Reading, RG6 1PU, UK. Registered in England No.1000954. t +44 (0)8702 416181 w www.xansa.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/