OS Windows - euccas/expmap GitHub Wiki
OS Windows Tips
Add to path
set PATH=D:\workspace\bin;%PATH%
Show current time in windows command prompt
It's a nice feature. Useful when you need timing some applications/commands.
prompt $t$g
how-to-get-windows-command-prompt-to-display-time
Find which process uses a DLL or file handle
The process cannot access the file because it is being used by another process.
- Open Process Explorer, running as administrator.
- Enter the keyboard shortcut Ctrl+F. Altenatively, click the “Find” menu and select “Find a Handle or DLL”.
- A search dialog box will open.
- Type in the name (substring) of the locked file or other file of interest.
Generate a time stamp with Batch
set stamp=%DATE:~-4%_%DATE:~4,2%_%DATE:~7,2%_%TIME:~0,2%_%TIME:~3,2%_%TIME:~6,2%
# 2018_06_12_14_59_12