Skip to main content

All Questions

Tagged with
1 vote
3 answers
6k views

Windows command dir lists files with absolute path, relative path required

I would like to list all filesnames of all files with a specific extension in a directory structure and write this to a file. What I have reached: dir /B /S *.ext > list.filenames This gives me a ...
Teddy's user avatar
  • 163
1 vote
2 answers
615 views

How to run default dir command under FAR file manager?

I have Cygwin installed somewhere in the path. So I have >where dir D:\Users\Dims\Design\Cygwin64\bin\dir.exe When I run DIR from CMD I get the normal Windows DIR: >dir /? Displays a list of ...
Dims's user avatar
  • 12.8k
22 votes
1 answer
77k views

How to change CMD start directory [duplicate]

I want to change the CMD startup directory when I launch it via Start+R Currently, it points to my users folder. I need it to point to C:\Windows\System32\ When I navigate using explorer to C:\Windows\...
Lucas BS's user avatar
  • 482