Windows10: Difference between revisions

From Wiki RB4
 
(3 intermediate revisions by the same user not shown)
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===
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===
===Find Text/String in File===
  findstr /s <TEXT> <FILES>
  findstr /s <TEXT> <FILES>
  findstr /s branch_label *.py
  findstr /s branch_label *.py
  findstr /s "Halloo0@1" *.*
  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