Archive for June 26th, 2008|Daily archive page
> in windows shell command
We can export result of command in windows shell into a file using > command.
say if we need to extract existing file in a directory we just simply put this command on windows shell
dir *.* > C:\filelist.txt
if we want to display all file and subdirectory we just need to setting dir parameters as we want, say the example like this : (you can change dir setting for display hidden etc )
dir /S /O:EGN >filelist.txt
you even can use this command to save help for dir into a file
dir /? > dirhelp.txt
if we want to save a text into a file we can use echo command
echo dewa pribadi > friend.txt
Comments (3)
