Re: [OT] Using DIR (CMD) with redirection to a file

new topic     » goto parent     » topic index » view thread      » older message » newer message
krg said...

You could try this. Before running the dir command, create another instance of the command shell like this:

cmd /u

This instructs cmd to use Unicode when redirecting to a pipe or file.

Not sure if this will solve your problem, but it is worth a try.


krg, that worked! Used the following syntax to achieve the goal;

@cmd /u /c dir *.* /b >myfiles.txt

Extend my gratitude to all who's been kind enough trying to help me out..

PS! Apologies for not responding earlier, have very busy schedule..

Regards, Kenneth / ZNorQ

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu