Powershell question: How to print only the current folder name
System Admin
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, This should be easy for an expert. Suppose I'm in the folder C:\Windows\System32 . I want to print out only "System32". I have found commands that give the entire path, but I want only the last bit :) Thanks, Mel
You have posted the same question on 4 different forums; please, don't do it! The best when asking something is to choose the forum that better matches your subject, and post a unique question explaining as better as possible what is your problem. Thank you!