--]]Commands for Files

  • EDIT – It is used to edit a file.
1)Syntax is shown below:-



2)A text editor will be opened. With the help of it, you can make modifications in your opened file.




3)The screenshot of the changes, made.




4)Now just save your changes, by clicking on "File--]]Save ".

5)You can come out of the text-editor by going through "File--]]Exit".

6)Now, you are back to command prompt, so just type your file-name to verify your changes.



 7)Screenshot for the changes.




  • COPY It copies data of one file to another file.
Example:-


  • DEL It simply deletes the file.
 Example:-

1)Syntax for delete:-





2)View of folder before deletion.



3)View of folder after deletion.






  • REN – It renames the specified file.
Example:-

1)File before Renaming.




2)Applying renaming




3)File after Renaming.




  • MOVE – It moves the file from one location to another.
Example:-

1)Showing file before moving it.





2)Running MOVE command





3)Showing file after moving it.












0 comments:

Post a Comment