Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regex needed to find all files with no extension

 
Jon Dornback
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to locate all the files on my harddrive (windows) that have no file extension. i need a regex that will find all filenames with no "." in the name. anyone know how to do this?
thanks,
Jon
 
Jon Dornback
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's not as good as grep, but i found a solution in dos:
dir *. /A:-d /S
lists all files with no extension, not including directory listings, and recurses subdirectories.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic