Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Retrieving path

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

    Retrieving path

    Is there a simple code snippet to retrieve the path to My Documents/NinjaTrader 7?

    Have two computers, one with UserName "Owner" and the second computer is differrent.

    Thanks

    #2
    TAJTrades, that would be unfortunately unsupported, but you could give Cbi.Core.UserDataDir a try for your needs.

    Comment


      #3
      Give this a shot:
      private string path = Environment.GetFolderPath(Environment.SpecialFolde r.Personal) + "\\" ;

      'Special Folder.Personal' will return the path to your My Documents folder.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      650 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      577 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X