Windows11

From Wiki RB4
Revision as of 07:56, 26 April 2023 by UweHeuer (talk | contribs) (→‎Find Text/String in File)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Configuration

Explorer

Expand to Open Folder

  • right click in free bottom area of the left pane

Zscaler

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

Operation

Download from Powershell

$client = new-object System.Net.WebClient
$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