J
Joe
Hi, I was hoping someone could help me.
I want to generate a file containing a tree directory listing of the
directories on my hard drive. When I execute the command 'tree' in XP, I get
the following:
C:\>tree c:\windows
Folder PATH listing
Volume serial number is 0480-36BC
C:\WINDOWS
????addins
????AppPatch
????ASYM
? ????RUNTIME
????Config
????Connection Wizard
????Cursors
????Debug
? ????UserMode
? ????WPD
The above contains extended characters (if not seen in this post). But the
extended characters are output in the DOS window. I instead want the above
information sent to a file. So I execute the following command:
C:\>tree c:\windows > win.txt
Folder PATH listing
Volume serial number is 0480-36BC
C:\WINDOWS
ÃÄÄÄaddins
ÃÄÄÄAppPatch
ÃÄÄÄASYM
³ ÀÄÄÄRUNTIME
ÃÄÄÄConfig
ÃÄÄÄConnection Wizard
ÃÄÄÄCursors
ÃÄÄÄDebug
³ ÃÄÄÄUserMode
³ ÀÄÄÄWPD
I get garbage characters instead within the file content. I have tried to
view the file within word and convert the encoding to DOS or some other
encoding, but I dont get the original extended characters. Would anyone know
how i can generate the original directory listing to a file without having
to copy the content of the DOS screen and pasting to a file?
Many thanks!
Joe.
I want to generate a file containing a tree directory listing of the
directories on my hard drive. When I execute the command 'tree' in XP, I get
the following:
C:\>tree c:\windows
Folder PATH listing
Volume serial number is 0480-36BC
C:\WINDOWS
????addins
????AppPatch
????ASYM
? ????RUNTIME
????Config
????Connection Wizard
????Cursors
????Debug
? ????UserMode
? ????WPD
The above contains extended characters (if not seen in this post). But the
extended characters are output in the DOS window. I instead want the above
information sent to a file. So I execute the following command:
C:\>tree c:\windows > win.txt
Folder PATH listing
Volume serial number is 0480-36BC
C:\WINDOWS
ÃÄÄÄaddins
ÃÄÄÄAppPatch
ÃÄÄÄASYM
³ ÀÄÄÄRUNTIME
ÃÄÄÄConfig
ÃÄÄÄConnection Wizard
ÃÄÄÄCursors
ÃÄÄÄDebug
³ ÃÄÄÄUserMode
³ ÀÄÄÄWPD
I get garbage characters instead within the file content. I have tried to
view the file within word and convert the encoding to DOS or some other
encoding, but I dont get the original extended characters. Would anyone know
how i can generate the original directory listing to a file without having
to copy the content of the DOS screen and pasting to a file?
Many thanks!
Joe.