Home : General : Perl Programming :

General: Perl Programming: Re: [Andy] How to change a directory on windows via perl script: Edit Log

Here is the list of edits for this post
Re: [Andy] How to change a directory on windows via perl script
Code:
chdir('C:\test_directory');
# or *maybe* #
chdir('C:\\\test_directory'); print system('dir');

It should be:

chdir("C:\\test_directory");

Last edited by:

Wychwood: Dec 11, 2008, 2:26 AM

Edit Log: