Batch script color codes:
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White
Set the color like so:
Found here – https://stackoverflow.com/questions/12572718/how-to-change-text-color-of-cmd-with-windows-batch-script-every-1-second
Turn on auto-complete in CMD permanently
To enable auto-complete permanently in command prompt, run regedit to open the Registry Editor, and navigate to the following registry key:
You will have to edit the CompletionChar value. The default is 40 in Hexadecimal. Set the value of REG_DWORD to 9. This will enable folder name completion.
Next, double-click on PathCompletionChar and change its value to 9.
This will set the TAB key as the control character.
If you want to use the same control characters that you use for a single command session as mentioned in the first part of this post, then set the values as follows:
The file name auto-completion feature will work on folders too, because Windows will search for the complete path and match against both file and folder names.
Found here – https://www.thewindowsclub.com/autocomplete-in-windows-command-prompt
- hit windows-x and hit ‘command prompt (admin)’
- type ‘diskpart’
- type ‘list disk’
- type ‘select disk #’, with # being your flash drive
- type ‘clean’
- type ‘create partition primary’
- type ‘format fs=fat32 quick’
- type ‘active’
- type ‘assign’
- then finally type ‘exit’
Found here – https://linustechtips.com/main/topic/768988-my-sandisk-8gb-usb-drive-is-showing-up-as-multiple-drives-on-my-computer-please-help/?tab=comments#comment-9708246