Click here to Skip to main content
14,575,143 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Extra CCCOTD Pin
OriginalGriff22-Feb-18 2:33
mveOriginalGriff22-Feb-18 2:33 
JokeI can't help speculating... Pin
Johnny J.22-Feb-18 0:23
professionalJohnny J.22-Feb-18 0:23 
GeneralRe: I can't help speculating... Pin
Slacker00722-Feb-18 1:00
professionalSlacker00722-Feb-18 1:00 
GeneralRe: I can't help speculating... Pin
Johnny J.22-Feb-18 1:02
professionalJohnny J.22-Feb-18 1:02 
GeneralRe: I can't help speculating... Pin
den2k8822-Feb-18 2:05
professionalden2k8822-Feb-18 2:05 
GeneralRe: I can't help speculating... Pin
Johnny J.22-Feb-18 2:06
professionalJohnny J.22-Feb-18 2:06 
GeneralRe: I can't help speculating... Pin
lopatir22-Feb-18 4:18
Memberlopatir22-Feb-18 4:18 
GeneralPauperShell Pin
Sander Rossel22-Feb-18 0:22
professionalSander Rossel22-Feb-18 0:22 
So I've got this really very simple PowerShell script:
Copy-Item -Path "C:\TEMP\a" -Destination "C:\TEMP\b" -Recurse -Force

The result... C:\TEMP\b is created and all items from a are copied to b, so far so good.
I run it again, exactly the same as before, except folder b does now exist.
The result... I get a new folder C:\TEMP\b\a with all contents of a.

In what universe is this expected logical behavior!? WTF | :WTF:

GeneralRe: PauperShell Pin
OriginalGriff22-Feb-18 0:31
mveOriginalGriff22-Feb-18 0:31 
GeneralRe: PauperShell Pin
PeejayAdams22-Feb-18 0:37
MemberPeejayAdams22-Feb-18 0:37 
GeneralRe: PauperShell Pin
OriginalGriff22-Feb-18 0:41
mveOriginalGriff22-Feb-18 0:41 
GeneralRe: PauperShell Pin
PeejayAdams22-Feb-18 0:59
MemberPeejayAdams22-Feb-18 0:59 
GeneralRe: PauperShell Pin
Sander Rossel22-Feb-18 0:59
professionalSander Rossel22-Feb-18 0:59 
GeneralRe: PauperShell Pin
OriginalGriff22-Feb-18 1:01
mveOriginalGriff22-Feb-18 1:01 
GeneralRe: PauperShell Pin
Sander Rossel22-Feb-18 1:04
professionalSander Rossel22-Feb-18 1:04 
GeneralRe: PauperShell Pin
DRHuff22-Feb-18 4:10
MemberDRHuff22-Feb-18 4:10 
GeneralRe: PauperShell Pin
Richard Deeming22-Feb-18 1:00
mveRichard Deeming22-Feb-18 1:00 
GeneralRe: PauperShell Pin
Sander Rossel22-Feb-18 1:05
professionalSander Rossel22-Feb-18 1:05 
GeneralRe: PauperShell Pin
Kornfeld Eliyahu Peter22-Feb-18 7:36
mveKornfeld Eliyahu Peter22-Feb-18 7:36 
GeneralFTFY Pin
Minion no. 525-Feb-18 2:16
MemberMinion no. 525-Feb-18 2:16 
JokeStatistically... Pin
Johnny J.22-Feb-18 0:20
professionalJohnny J.22-Feb-18 0:20 
GeneralRe: Statistically... Pin
A_Griffin22-Feb-18 0:41
MemberA_Griffin22-Feb-18 0:41 
GeneralRe: Statistically... Pin
Johnny J.22-Feb-18 0:47
professionalJohnny J.22-Feb-18 0:47 
GeneralRe: Statistically... Pin
CodeWraith22-Feb-18 2:45
MemberCodeWraith22-Feb-18 2:45 
GeneralRe: Statistically... Pin
Johnny J.22-Feb-18 2:50
professionalJohnny J.22-Feb-18 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.