Question

2
Replies
1634
Views
RobIsTheName Member since 2017 31 posts
RBC
Posted: July 27, 2017
Last activity: August 10, 2017
Closed
Solved

Find the Local the directory where development was done, in code.

I have a Robotics project under development and have some temporary .txt files stored in the project directory and stored as part of the project. I need an easy way to reference the files (without coding an absolute path). using functions like Runtimehost.GetProjectPath returns where the runtime has placed project for running (ex: c:\users\AppData\Local\Openspan\etc.... ), and note where the debuggering is happening (ex: c:\botprojects\myBot1\bin\debug)

Tried a number of window apis (via c#) with no luck. Either points me to the AppData, or the runtime dir. Neither of which is what I need..

Any suggestions are welcome

Rob

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn