Command Line...

NOT ALL PAGES ARE CONVERTED TO CELL PHONE FORMAT!

Home     Sitemap

www.diy-computer-repair.net logo

File Management and How To Use The CMD Prompt

CMD Prompt, command line, DOS box, or Command Console some of the names for use of the "command line".

A while back I wrote an article about File Management Attributes and using the CMD Prompt or DOS Box to change the properties or attributes of a file.

Seems there is a nasty virus out on the web that likes to hide directories (Folders) and files from the user/owner.

One of the ways to gain control over a file or directory (this is an old DOS term where as Folders is a Windows 95 and up term) is to use the Command Prompt and go to the directory with the effected files.

Ah but, you say "How do I get there?"

Here is a tip: If you need to know a certain command for navigating around in the DOS environment then press F1 and in search box type in "Command-line reference A-Z".

So you tried to remove the hidden attribute on some files and folders with Explorer but it isn't working. You need two things:

  • Administrator Rights
  • Ownership of the files/folders

Now you have a list of all the commands you can use in the Command Prompt window or with a DOS boot disk, however with a DOS boot disk unless you have a utility that will mount an NTFS volume you will not be able to do anything to a Windows volume, DOS can not see the NTFS formatted volume.

Either use the Start button menu and navigate to the accessories and open a Command Prompt window or use the Run: box and type in cmd, a new window will open at the Command Prompt.

Next you need to navigate to the actual directory, lets say the path to the affected files is D:\Backup Files\June 2010 now you have a small problem because some DOS commands do not see spaces in a directory name, and when you get to the files you are going to have another problem: DOS can only see eight characters and a three character file type extension.

But not all is lost grasshopper!

You need this in your IT Tool Box! Get yours today...

Troubleshoot, repair, maintain, upgrade & secure...

    With this!


There are ways around these small problems. When you are using the command line you can not use spaces and long file names with some commands such as attrib unless you enter your text with in parentheses such as you want to go to the backup files directory you would use this: "backup files" with the command.

Before you go to the backup files directory if it is hidden you need to remove that attribute by using the attrib -h command (don't worry I will make a complete list of how to get to the drive letter, the directory, and the files shortly).

When the CMD Prompt window opens it will be on your Operating System drive and in your home or My Documents directory, unless you have changed it by changing the properties of  it (I have mine set for C:\ ), you need to get to the D: drive then to the backup files root directory for the June 2010. That is where you need to start removing the -h (hidden) attribute from the files and directories.

The image, table, or PDF was removed because it will not display on your device. Check back on a PC....

Batch file tedt part a... Batch file tedt part b ...

Note: The text above is an image, sorry but there is a very large chance someone else has the same text on their web site and the last thing this site needs is to be charged with duplicate content...



Emergency Repair
D
isk (ERD) - Will Yours Work?

Emergency
Repair Disk


Custom made for you...



You keyboard isn't thirsty, and it doesn't need calcium. Milk and other liquids will ruin a keyaboard!


This Web
Site is a
labor of Love
!
But Love
doesn't pay
the bills!

Please chip in $5 to keep it live...

Need A Checklist?

Need A Repair Manual?


    Page copy protected against web site content infringement by Copyscape
 

You can:


Return to
previous page:



 

 

 

 


Thank you for visiting my web site, and please come back again.

This website is not intended for children under the age of 18

Author of this web site: Monte Russell


FTC Endorsement Rules
All testimonials on the DIY Computer Repair web site are from customers who were not paid to comment on any products!


The Flag of The United States of America!   Proudly Made in The U. S. A.

Copyright and Registered to www.diy-computer-repair.net, all thieves will be prosecuted to the fullest extent of international law!www.diy-computer-repair.net

From the Desert South West ~ Arizona, U. S. A.
Copyright DIY-Computer-Repair.Com 2006-2016

 

"You found this web site through:"

Active Search Results


Return to top of CMD Prompt

You can use the CMD Prompt for other things...





Home    About    Sitemap
Fix It Blog!

From the Desert South West ~ Arizona, USA
Copyright www.diy-computer-repair.net 2006-2015