> -----Original Message-----
> From: Javeed SAR [mailto:[EMAIL PROTECTED]] 
> Sent: 09 September 2002 11:25
> To: Sudarshan Raghavan; Perl beginners
> Subject: RE: change directories
> 
> 
> Hi,
> 
> I printed the statement:
> print cwd;
> it's in right path, but the program comes out in c:\, i want 
> the cursor to
> be in m:\test_merge1, in this dir i am executing a command, 
> which is not
> executing?
> chdir " M:\\test_merge1" ;
> @cmd=`cleartool setcs -current`;
> 
> 
> Regards
> Javeed

mmm - in *nix you would do it like this:
  @result = `cd /var/lib;ls -l`;

where a series of commands delimited by semi-colon is passed to the
shell to execute all at once.

I don't know if windows/NT? has something similar? Try this and see what
happens:
  @result = `cd M:\\test_merge1\ncleartool setcs -current`



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to