[OT] Using DIR (CMD) with redirection to a file
- Posted by znorq2 Oct 05, 2009
- 2510 views
Hi,
Norway uses the same letters as in English alphabet, with the addition to 3 extra letters - ÆØÅ.
When I try to use the DIR (Console, Windows) command with redirection to file output instead of screen, these letters come out garbled. The letters are shown correctly when displayed directly on screen.
This is the parameters I use in the DIR command;
@dir /n /a /ogen /q /tc
GDC-VNAS-A12.res.no.enterdir.com\A12_PRO01\13079\shared\*.* >C:\WINDOWS\Profiles\111951\desktop\Shared_area_changes.txt
Does anyone know how I can keep the letters intact when redirecting the DIR output to a file?
Kenneth / ZNorQ