How to print only the current folder name in powershell
-
Hi, Sorry for asking a powershell question. 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
-
Hi, Sorry for asking a powershell question. 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!