Hello,

I can get long file name in dosemu lredired drives with unix ls commands from 
the dosemu development team.

e.g.
"unix ls /mnt/win_c/dosna~xx.ext> result"
I do something to dosna~xx.ext that the result is a /mnt/win_d/longfilename.ext

As I try to turn the idea into a program, I have some hurdles  to overcome such 
as lower / upper case mixed, duplicated and embedded with white spaces. It 
seems a dos filename in dosemu can't be converted successful without errors and 
the conversion may not be one to one. I want to suppress the error messages by 
appending "2>/dev/null" to the unix ls command string above but is not working.
I hope I expressed my problem clear and you guys can help.


BAHCL

_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to