KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to get just the last part of the path name for a file. Example: c:\dir1\dir2\dir3\file.txt I need to get dir3 into a variable. I have been trying with Split-Path , but it gives me the whole path.
Tags (comma-separated)
Save Edits
Cancel