1
vote
2answers
142 views

Ignore NTUSER.DAT files when ls on Git Bash?

I use Git Bash as my terminal on Windows. When I ls in my Home directory, I see some NTUSER.DAT entries, which I assume are system files. They don't appear when I run dir in the default Windows ...
5
votes
5answers
15k views

how to list all files and directories in given directory with full path but not recursive?

Somehow like dir /b command but I need also hidden and system files there. Built in dir command doesn't allow to list such 'hidden' files with the rest and I must use /s to have full path in there, ...
3
votes
1answer
115 views

Can I use my own Java program as a command in Windows?

I've developed a Java program which does the same task as the ls command in Linux. After developing it, I was thinking about using it as a command in the DOS prompt. Does Windows allow this? If it ...
2
votes
2answers
1k views

How to change the default --color preference for "ls' on Windows?

I'm using ls (from Msys) on Windows. By default, ls doesn't colour-code directories and archives, but that's something I want. I'm tired of typing "ls -C" and "ls --color". Is there any way apart from ...