in reply to Re^2: Perl calling command prompt?
in thread Perl calling command prompt?

That will run "cmd" first, wait for it to exit, and then run the "cd" command.

You probably just want to run

system ("cd E:\\MyPerl\\Trial_Scripts");
but then, you can just as easily just use
chdir "E://MyPerl/Trial_Scripts";

Replies are listed 'Best First'.
Re^4: Perl calling command prompt?
by roboticus (Chancellor) on Nov 27, 2006 at 13:48 UTC
A reply falls below the community's threshold of quality. You may see it by logging in.