Announcement

Collapse
No announcement yet.

How can I save a file someplace other than the default directory?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How can I save a file someplace other than the default directory?

    When I do this, the file is created in the default directory:
    var CurFile = new File( "MyPairLevels.csv" );

    But I want it on the root directory, so I do this, but no file is created:
    var CurFile = new File( "C:/MyPairLevels.csv" );

    How can I have my file in the root directory?

  • #2
    Re: How can I save a file someplace other than the default directory?

    cashonly
    The File Object only writes to the Formula Output Root designated in Tools-> EFS-> Settings... so you will need to change that to do what you want
    Alex


    Originally posted by cashonly
    When I do this, the file is created in the default directory:
    var CurFile = new File( "MyPairLevels.csv" );

    But I want it on the root directory, so I do this, but no file is created:
    var CurFile = new File( "C:/MyPairLevels.csv" );

    How can I have my file in the root directory?

    Comment

    Working...
    X