Which command displays or changes the properties of files? - ProProfs Discuss
Advertisement

Which command displays or changes the properties of files?

Asked by Bryton, Last updated: Apr 18, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

John Smith

John Smith

John Smith
John Smith

Answered Sep 08, 2016

The attrib command displays or changes file attributes (properties). For example a file that is by default hidden will not normally appear in a directory listing. If the following command is used prior to the listing then the file will have its hidden attribute changed from hidden to show.

Attrib h c:\\myfile.txt for example for a list of switches type attrib /? or use help copy this will copy one file from one location to another xcopy will also copy the directory tree structure rename this command will rename a file in a specified directory and will rename multiple files when a wildcard is used, for example ren *.txt *.doc will rename all text files to have a doc extension. The renamed file(s) remain(s) in the same folder as the original; this command cannot move files to another folder.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.