on Tue, 23 Apr 2002 19:32:20 GMT, [EMAIL PROTECTED] (John Bodoni) wrote: > chdir 'j:/wsinfo'; > system "dir /p"; > > [...] > > When I execute it from a web browser, I get a directory of my web > server's wwwroot folder - less than stellar. What am I doing > wrong?
To find out what goes wrong, try the following chdir 'j:/wsinfo' or die "Cannot chdir: $!"; Maybe the 'user' that runs the webserver doesn't have the right privileges for directory j:/wsinfo, or maybe drive j: isn't mapped for this user. The error message will give you a clue about this. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]