11-22-2013, 04:48 PM | #1 |
¯\_(ツ)_/¯
Join Date: Sep 2007
Age: 34
Posts: 1,837
|
Folder list generator batch file
Hey all,
Since I know jack shit about batch files I thought I'd come here and ask for some help on something I'm trying to get to work. So I have a .bat file with a script to generate a .txt file with a list of folders of the directory the .bat file is run in. The script is: Code:
dir /on /b /s /a:d >FolderList.txt Is there a way to make this script output a .txt file in unicode so that it retains the proper symbols?
__________________
|
11-22-2013, 05:00 PM | #2 |
¯\_(ツ)_/¯
Join Date: Sep 2007
Age: 34
Posts: 1,837
|
Re: Folder list generator batch file
Woo, fission just helped me out and provided an updated script that lists unicode.
For anyone else interested: Code:
chcp 65001 dir /on /b /s /a: d >FolderList.txt type FolderList.txt
__________________
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|