- Command prompt
- dir *.* /a-d | find "File(s)"
- dir *.* /b /a-d | find /c /v ""
- PowerShell
- (Get-ChildItem C:\csv -filter "*.*").Count
- (Get-ChildItem C:\csv -recurse -filter "*.*").Count recursive search
- (Get-ChildItem C:\csv -filter "*.*").Count
- [System.IO.Directory]::GetFiles("c:\Path").Count
Remus RIGO's blog
Photography/Design/Vector/Programming help
2023-04-05
Count files in a folder from Command Prompt / PowerShell
2023-01-05
Store location of the opened tabs from Chrome browser / Restore opened tabs from Chrome
Go the the following location:
%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Sessions
%userprofile%\AppData\Local\Google\Chrome\User Data\Default\Sessions
To restore your opened tabs to another PC or user copy the files in this locatation to your new device:
Session_*.*
and
Tabs_*.*
2021-12-10
Fix blank screen for users on Windows 10
Open Services with elevated privileges and disable the App Readiness service
Restart required
2021-12-02
Color line if condition meet in Excel
To color a line if a cell has a specified value go to:
- Conditional Formatting
- New Rule
- Use a formula to determinate witch cells to format
- Format values where this formula is true
- select the cell with the desired value and enter the condition
- select the formatting you want (background color)
- select the whole table
Example:
We have a table with column A to Z and we want to color each row if the cell from column S has the value "Shipped"
Formula should be: =$S1="Shipped" and Applies to =$A:$Z
2021-11-15
Fix Sentinel HASP error "hardlock.sys" file (null) processing error ... Status Code 12 4 2217 31
Fix Sentinel HASP error:
"hardlock.sys" file (null) processing error. this is an internal error. For assistance contact your administrator or the software manufacturer.
Status Code 12 4 2217 31Open registry editor
go to HKLM\SYSTEM\CurrentControlSet\Services\Hardlock
set Start=4
2021-07-27
How to search for special characters in files or folders from Windows Explorer
If you want to find a special character in a filename or folder go to the searchbox and type:
~="@"
This will find any file or folder containing the @ character2021-04-12
Change wireless network priority from command line
Open a command prompt and enter:
netsh wlan set profileorder name="NetworkName" interface="Wi-Fi" priority=1
Subscribe to:
Posts (Atom)