HOW TO BACKUP YOUR ALL DIRECTORY IN YOUR COMPUTER AND FILE NAMES:-
| Syntax | |
| tree | /f |
Description:-
Displays names of files in a directory, subdirectory files
Example:-
tree /f > c:\main\files.txt
/f = list all files in directory and sub directory.
> Re-direct all diretory and subdirectory files to "files.txt"
open in notepad and check directory tree.
Sample Programme:-
@echo off
:: useful to take backup how many directory present in your computer
:: useful to take number of files names present in your computer
c:\bat\ tree /f > test.txt :: to creat file and store
or
c:\bat\ tree /f >> test.txt
::display all directory and filenames after c:\bat directory
exit
-----------------------
PAGE 01
PAGE 02

No comments:
Post a Comment