2
votes
1answer
1k views

Force “net user” command to set password longer than 14 characters

I'm issuing some "net user" commands to setup a local user on my desktop for some testing purposes and require setting a password longer than 14 characters. In doing so Windows barks back a propmt to ...
5
votes
2answers
829 views

Is there a Windows CMD equivalent of Unix shell's exec?

Is there any equivalent in Windows to Unix Shell's "exec"? Basically, I need to avoid forking a new process, so that input/output pipes are preserved, as well as process id. Edit: So, here's my ...
0
votes
2answers
1k views

Need relative paths from a batch script directory listing

I have a simple batch script that recursively looks at all files and folders within the directory and writes out the file inventory to a text file. It currently looks like this: dir /b/s > ...
0
votes
4answers
676 views

How to get coloured file listing in windows cmd shell?

A few older ones in here will probably remember a cute little proggie from DOS days, hdir it was called. Did nothing special, except show the file and directory listing in colour. (there were others ...
2
votes
5answers
473 views

windows cmd shell environments

I use it regularly (cmd), but let's be frank, its environment sucks. No tabs, resizing the window is a pain, ... and so on. Console2 and PowerCmd fix some of these problems. But still, I'd love to ...