Windows10: Difference between revisions
| (7 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
* open one instance | * open one instance | ||
* right click on explorer instance in task bar -> select 'Explorer' | * 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 "Halloo0@1" *.* // m only filenames | |||
Latest revision as of 12:37, 24 October 2022
Operation[edit]
Set Environment Variables[edit]
- Systemsteuerung -> Benutzerkonten -> Eigene Umgebungsvariablen ändern
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 "Halloo0@1" *.* // m only filenames