Windows10: Difference between revisions
| Line 10: | Line 10: | ||
* right click on file -> create link | * right click on file -> create link | ||
* richt click on link -> properties -> link -> copy target | * richt click on link -> properties -> link -> copy target | ||
===Find Executable=== | |||
where <PROGRAM_NAME> // e.g. where npm | |||
===Find File by Name=== | ===Find File by Name=== | ||
cd <ROOT_OF_SEARCH_DIR> | cd <ROOT_OF_SEARCH_DIR> | ||
Get-ChildItem -Filter My*.docx -Recurse | Get-ChildItem -Filter My*.docx -Recurse | ||
where /R <ROOT_DIR> <FILENAME> // e.g. where /R C:\ angular.drawio | |||
===Find Text/String in File=== | ===Find Text/String in File=== | ||
Revision as of 09:14, 31 August 2022
Operation
Set Environment Variables
- Systemsteuerung -> Benutzerkonten -> Eigene Umgebungsvariablen ändern
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
Find Text/String in File
findstr /s <TEXT> <FILES> findstr /s branch_label *.py findstr /s /m "Halloo0@1" *.* // m only filenames