Tech Support Guy banner
Status
Not open for further replies.

Solved: Copying filename without extension in DOS

1 reading
24K views 3 replies 2 participants last post by  jaredlet  
#1 ·
Hey all I have been trying to get all the file names of a directory copied into notepad, but i cannot get them to display without their extensions. I have been trying

dir /b

dir /b *.

dir /a-d *.

and similar commands but none seem to work. If anyone knows how to display all files in a directory with only the file name and no extension I would greatly appreciate it. Thanks!
 
Status
Not open for further replies.
You have insufficient privileges to reply here.