Windows11: Difference between revisions
| Line 32: | Line 32: | ||
findstr /s <TEXT> <FILES> | findstr /s <TEXT> <FILES> | ||
findstr /s branch_label *.py | findstr /s branch_label *.py | ||
findstr /s /m "Halloo0@1" *.* // m only filenames | 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]
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
