回答編集履歴
2
追記
test
CHANGED
@@ -19,3 +19,19 @@
|
|
19
19
|
```
|
20
20
|
|
21
21
|
|
22
|
+
|
23
|
+
追記
|
24
|
+
|
25
|
+
再度
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
```PowerShell
|
30
|
+
|
31
|
+
$fileName = Get-Content test.txt
|
32
|
+
|
33
|
+
Compress-Archive $fileName -DestinationPath $fileName + ".zip"
|
34
|
+
|
35
|
+
```
|
36
|
+
|
37
|
+
|
1
追記
test
CHANGED
@@ -3,3 +3,19 @@
|
|
3
3
|
Compress-Archive (Get-Content test.txt) -DestinationPath C:\daichi\temp\test\u_ex170421.log.zip
|
4
4
|
|
5
5
|
```
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
追記
|
10
|
+
|
11
|
+
読み間違えていました。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
```PowerShell
|
16
|
+
|
17
|
+
Compress-Archive test.txt -DestinationPath (Get-Content test.txt)
|
18
|
+
|
19
|
+
```
|
20
|
+
|
21
|
+
|