Hello, I'm following through a PowerShell guide thing and I'm just copying a file.
Say I create a few folders within each other and a text file at the end, and I want to copy that text file from within the folders to the desktop.
It lives in
C:\Users\Baax\temp\Folder1\Folder2\TextFile.txt
I want to move it to
C:\Users\Baax\Desktop
Do I have to perform this operation from C:\Users\Baax and then use the respective paths?
So it would be
PS C:Users\Baax> cp temp/Folder1/Folder2/TextFile.txt desktop
just curious I guess, thanks.
Say I create a few folders within each other and a text file at the end, and I want to copy that text file from within the folders to the desktop.
It lives in
C:\Users\Baax\temp\Folder1\Folder2\TextFile.txt
I want to move it to
C:\Users\Baax\Desktop
Do I have to perform this operation from C:\Users\Baax and then use the respective paths?
So it would be
PS C:Users\Baax> cp temp/Folder1/Folder2/TextFile.txt desktop
just curious I guess, thanks.