Rename-Item -Path "C:\root1\root2\old_folder" -NewName "new_folder"
📦 PowerShell
✨ The Prompt Phrase
What PowerShell command do you use to rename an existing folder by specifying its full path and providing the new name you want it to have? ~Rename-Item -Path~ "C:\root1\root2\old_folder" ~-NewName~ "new_folder"
💻 Code Preview
📦 All-in-One Code
<div style="position:fixed;top:0px;left:0px;right:0px;bottom:0px;"><div data-zite-id="bj2cl1x954" data-zite-embed-type="fullscreen" style="width:100%;height:100%;" data-zite-inherit-parameters ></div><script src="https://server.fillout.com/embed/v2-zite/"></script></div>
Live Preview