Windows11: Difference between revisions

From Wiki RB4
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
====Expand to Open Folder====
====Expand to Open Folder====
* right click in free bottom area of the left pane [[File:Win11Explorer1.png|400px]]
* right click in free bottom area of the left pane [[File:Win11Explorer1.png|400px]]
===Zscaler===
* C:\Program Files\Zscaler\ZSATray\ZSATray.exe


==Operation==
==Operation==
Line 8: Line 11:
  $client = new-object System.Net.WebClient
  $client = new-object System.Net.WebClient
  $client.DownloadFile("http://www.xyz.net/file.txt","C:\tmp\file.txt")
  $client.DownloadFile("http://www.xyz.net/file.txt","C:\tmp\file.txt")
===Second Explorer Window===
* open one instance
* right click on explorer instance in task bar -> select 'Explorer'
===Link to local file in One Drive===
* right click on file -> create link
* richt click on link -> properties -> link -> copy target
===Find Executable===
where <PROGRAM_NAME> // e.g. where npm
===Find File by Name===
cd <ROOT_OF_SEARCH_DIR>
Get-ChildItem -Filter My*.docx -Recurse
where /R <ROOT_DIR> <FILENAME> // e.g. where /R C:\ angular.drawio
where /R . <FILENAME> // from actual directory
===Find Text/String in File===
findstr /s <TEXT> <FILES>
findstr /s branch_label *.py
findstr /s /m /OFFLINE "Halloo0@1" *.* // m only filenames, OFFLINE includes files with this attribute

Latest revision as of 07:56, 26 April 2023

Configuration[edit]

Explorer[edit]

Expand to Open Folder[edit]

  • right click in free bottom area of the left pane

Zscaler[edit]

  • C:\Program Files\Zscaler\ZSATray\ZSATray.exe

Operation[edit]

Download from Powershell[edit]

$client = new-object System.Net.WebClient
$client.DownloadFile("http://www.xyz.net/file.txt","C:\tmp\file.txt")

Second Explorer Window[edit]

  • open one instance
  • right click on explorer instance in task bar -> select 'Explorer'

Link to local file in One Drive[edit]

  • right click on file -> create link
  • richt click on link -> properties -> link -> copy target

Find Executable[edit]

where <PROGRAM_NAME> // e.g. where npm

Find File by Name[edit]

cd <ROOT_OF_SEARCH_DIR>
Get-ChildItem -Filter My*.docx -Recurse
where /R <ROOT_DIR> <FILENAME> // e.g. where /R C:\ angular.drawio
where /R . <FILENAME> // from actual directory

Find Text/String in File[edit]

findstr /s <TEXT> <FILES>
findstr /s branch_label *.py
findstr /s /m /OFFLINE "Halloo0@1" *.* // m only filenames, OFFLINE includes files with this attribute