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[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