![]() ![]() $null | Set-Content "Erika szobája/Kátai Tamás - 09 Zúzmara.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 08 Mécsvilág.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 07 Õszhozó.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 06 Sûrû völgyek takaród.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 05 Ázik az út.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 04 Esõben szaladtál.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 03 Renoir kertje.ogg" $null | Set-Content "Erika szobája/Kátai Tamás - 02 Zölderdõ.ogg" ![]() $null | Set-Content "Erika szobája/Kátai Tamás - 01 Télvíz.ogg" $null | Set-Content "Erika szobája/Erika szobája.m3u" $null | Set-Content "Erika szobája/cover.jpg" Use PowerShell: powershell -command "tree /f > tree.txt" I have tried opening the file in both VS2008 and notepad and both show the same incorrect characters. I tried Chris Jester-Young's suggestion (what happened, did you delete it Chris?) of running the command line with the /U switch, it looked like exactly what I needed but it does not appear to work. How can I fix this? Ideally the text file would be exactly the same as the output in the console window. K tai Tam s - 06 S–r– v”lgyek takar¢d.ogg Kátai Tamás - 06 Sûrû völgyek takaród.ogg The results in the console window are fine: Here is the command I am using: tree /f /a > output.txt I'm trying to use the tree command in a windows commandline to generate a text file listing the contents of a directory but when I pipe the output the unicode characters get stuffed up. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |