in reply to How to Create a file in a different folder

By using a different path.

Your question doesn't contain enough information to give any more specific advise - which part creates the log file? the database? the web server? or a different component?

Please read How (Not) To Ask A Question.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: How to Create a file in a different folder

Replies are listed 'Best First'.
Re^2: How to Create a file in a different folder
by Bloodnok (Vicar) on Sep 23, 2009 at 11:39 UTC
    Furthermore, has the OP encountered problem(s) in the attempt ... which has/have also not been divulged ?

    Is it, as the example path tends to suggest, a Windoze machine and the OP is attempting to use *NIX slashes ?

    I submit that the OP would struggle to ask a question but tell us less about the problem...

    A user level that continues to overstate my experience :-))
Re^2 How to Create a file in a different folder
by Rocko19 (Acolyte) on Sep 23, 2009 at 11:44 UTC

    Hi,
    I just need to create a file in a different folder. Shall i use a different path in the file creation itself?
      Then use the full path to the desired log file in place of the current file name.
      Perl 6 - links to (nearly) everything that is Perl 6.