Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# get path without filename

var fn = openFileDialogSapTable.FileName;
var currentPath = Path.GetFullPath( fn );
currentPath = Directory.GetParent(currentPath).FullName;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #path #filename
ADD COMMENT
Topic
Name
8+4 =