Current time: 09-08-2010, 08:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Command Prompt to View File Extensions
09-12-2009, 11:57 AM
Post: #1
Using Command Prompt to View File Extensions
How do I use command prompt to view the file extensions? Do I type "list files" or do I have to view a certain directory that the file is located? A basic description is fine. Obviously you don't which files I want to view. I know I learned how once but I don't remember. I have Windows XP.

undefined
Find all posts by this user
Quote this message in a reply
09-12-2009, 06:08 PM
Post: #2
RE: Using Command Prompt to View File Extensions
You can navigate to a specific directory using the cd command.

cd "C:\some directory"

Then, you can list files using the dir command.

dir *.*

If that is hard to view, try "wide" view.

dir /w *.*

You can also list subdirectories using the /s switch. For instance, any in "some directory" or in any folder under it:

dir /w /s "C:\some directory\*.*"

Scripting problems? Windows questions? Ask the Windows Guru!

Stay up to date with all of my latest content. Follow me on Twitter!
[Image: tsig.php]
Help us help you! Post your exact error message with these easy tips!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


Forum Permissions
You cannot post new threads.
You cannot post replies.
You cannot post attachments.
HTML is turned off.
MyCode is turned on.
Smilies are turned on.
[img] is turned on.