windows
Powershell - Benchmark Command
Powershell comes with a cmdlet called "Measure-Command" that can execute a block of commands and measure how long it takes to run. It's analogous to the unix "time" command.
What if you want to run something a number of times and take the average?
End-user account info from Active Directory for Windows network login
Relevant links:
- NameTranslate FAQ
- IADsUser Interface is designed to represent and manage an end-user account on a network
- IADsLargeInteger Interface is used to manipulate 64-bit integers of the LargeInteger type
| This is sample code. Add error handling and adjust to your requirements as necessary. |
loAdUser = ADUserInfo() ? "cn:", loAdUser.cn ? "department:", loAdUser.department
Fix VFP file associations to open files in one VFP instance
The files associated with VFP are opened in a new instance of VFP when double-clicked or 'Open' verb is executed on them. It's configured in Windows not in VFP.
Windows limitations on file and path name
The limitations have been pulled from Windows SDK header file
Recent comments
1 week 2 days ago
1 week 2 days ago
1 week 3 days ago
1 week 5 days ago
1 week 5 days ago
2 weeks 2 days ago
3 weeks 2 days ago
3 weeks 3 days ago
3 weeks 4 days ago
4 weeks 1 day ago