This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
context-menu-items.json
49 lines (49 loc) · 1.82 KB
/
context-menu-items.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[
{
"Key" : "file_utils",
"Name" : "File Utils",
"Type" : "File",
"Extended" : true,
"Icon" : "C:/Program Files/internet explorer/images/bing.ico",
"Options" : [
{
"Key" : "read_content",
"Name" : "Read content",
"Icon" : "C:/Program Files/internet explorer/images/bing.ico",
"Command" : "powershell.exe -NoExit -Command Get-Content '%1'"
},
{
"Key" : "remove_content",
"Name" : "Remove content",
"Icon" : "C:/Program Files/internet explorer/images/bing.ico",
"Command" : "powershell.exe -Command Set-Content %1 -Value ''"
},
{
"Key" : "subutils",
"Name" : "SubUtils",
"Icon" : "C:/Program Files/internet explorer/images/bing.ico",
"Options" : [
{
"Key" : "nothing",
"Name" : "Press me! Nothing will happen.",
"Icon" : "C:/Program Files/internet explorer/images/bing.ico"
}
]
}
]
},
{
"Key" : "get_size_of_all_files",
"Name" : "Get size of folder",
"Type" : "Directory",
"Icon" : "C:/Program Files/internet explorer/images/bing.ico",
"Command" : "powershell.exe -NoExit -Command (Get-ChildItem -File) | ForEach-Object { $total = 0 } { $total += $_.Length } { $total }"
},
{
"Key" : "get_number_of_characters",
"Name" : "Get number of characters",
"Type" : "File",
"Icon" : "C:/Program Files/internet explorer/images/bing.ico",
"Command" : "powershell.exe -NoExit -Command (Get-Content '%1' -Raw).Length"
}
]