Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

It’s been a while since I’ve asked you folks a question…

$
0
0

I think this one is pretty straight forward and I think I already know the answer but I’m hoping to confirm. The question is more one of theory or functionality then application.

 

Let’s say you have a directory on a remote computer (C:logs). Then you want to copy a portion of them into a sub directory (C:logstemp)

 

After copying the logs, you want to create a compressed zip file of the temp directory within the temp directory (C:logstemptest.zip).

 

If you were to do this, would you be creating an unusable zip file?

&nbsp I assume that because you’re compressing the destination directory, you would basically be creating a zip file that would not be able to complete in full as directory would be “in use”.

submitted by /u/delliott8990
[link] [comments]

The post It’s been a while since I’ve asked you folks a question… appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Latest Images

Trending Articles



Latest Images