One solution is to create a property in a window (or another parent container):
public string CurrentPath { get { return Environment.CurrentDirectory; } }
And bind in XAML like this:
<TextBox Text="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}, Path=CurrentPath, Mode=OneTime}" />
source share