Creating
a Batch file:
attrib +s +h +r [file_path along with name]
attrib -s -h -r [file_path along with name]
copy [source_file_path with filename] ]destination_file_path with filename]
ren [source_file_path with filename] ]destination_file_path with filename]
NOTE: in case of folders, extension is not required.
- open notepad.
- write the dos commands inside it.
- save it with any name,but,with extension .bat
attrib +s +h +r [file_path along with name]
Unhide files and folders:
attrib -s -h -r [file_path along with name]
Copying files from one place to another:
copy [source_file_path with filename] ]destination_file_path with filename]
Renaming files:
ren [source_file_path with filename] ]destination_file_path with filename]
NOTE: in case of folders, extension is not required.
Creating Files in the computer memory:
Run dos prompt->edit->"create files eith extension"-> save->run.
No comments:
Post a Comment