Search by File Name
- open CMD.exe
- use command (more info): dir *.class *.java /b/s
Search by File Content
- open CMD.exe
- use command:
findstr /s /i mock *.java *.groovy
- what it does:
- search not only in the current directory but also in subdirectories (/s)
- searches for the string "mock", ignoring the case (/i)
- in all .java and .groovy files
- to find a string "pink rose", do:
findstr /s /i /c:"pink rose" *.java *.groovy
Without the "/c:", you will get all occurances of pink and rose.
- option /r allows to use regular expression, np.:
findstr /i /r /c:"references .*\.country" *
- more info
(tested in win7)
- Go to: Control Panel > Hardware and Sound > Devices and Printers.
- Click "Add a Printer" and in a new window: Click "Add a local printer".
- Select "Create a new port" via radio buttons. Select "Standard TCP/IP Port" via dropdown. Click "Next".
- Enter "192.168.0.2" or whatever is your print server IP address via textbox "Hostname or IP Address". Modify "192.168.0.102" via textbox "Port Name" if desired. Unselect "Query the printer [...]" via checkbox.
- Select custom settings and set:
- Protocol LPR and Queue Name L1 and enable LPR Byte Counting.
- Reach page "Install the print driver".
- Select "Samsung" via scroll list "Manufacturer". Click "Windows Update" if "Samsung ML-2510 Series" does not appear in scroll list "Printers".
- [Additional procedures may be needed to continue with printer addition]
- Reach situation in previous step. Select "Samsung" and "Samsung ML-2510 Series". Click "Next".
- [Additional procedures may be needed to complete printer addition]