How to change a directory on windows via perl script
I wanna mount a share on windows via perl script.so writing a perl script.But i am not able to change directory via scripting.
I have used:-
system("dir");
which gives the list of directories in the drive i am.This command works well.
Now i want to move from c drive to z drive via perl script.I am using:-
system("chdir /D z:");
also tried---
system("z:");
`z:`
but no success...
can some one help me please?????
I wanna mount a share on windows via perl script.so writing a perl script.But i am not able to change directory via scripting.
I have used:-
system("dir");
which gives the list of directories in the drive i am.This command works well.
Now i want to move from c drive to z drive via perl script.I am using:-
system("chdir /D z:");
also tried---
system("z:");
`z:`
but no success...
can some one help me please?????