If I do this in a batch file....
dir /s/b/n *.fdb
I get this...
C:\Legacy\LegacyFamilyData\Carneal
C:\Presentations\Demo\DemoDataOne
and so on; which is GREAT.
I can sort, show paths, show anything.
But if I do this in Powerbasic:
DoThis$="dir /s/b/n *.fdb"
Shell DoThis$
I get this:
C:\Legacy~1\Legacy~1\Carneal
C:\Presen~1\Demo\Demoda~1

and so on, which makes sorting confusing at times.
Is there an easy way to preserve the long names?
I am curious as to why when the command is executed from a batch
file the data it gets is different from when the command is
executed from inside a Powerbasic program? Anyone know please?
Thank you.
Robert
------------------
[This message has been edited by Robert E. Carneal (edited February 09, 2005).]
dir /s/b/n *.fdb
I get this...
C:\Legacy\LegacyFamilyData\Carneal
C:\Presentations\Demo\DemoDataOne
and so on; which is GREAT.
I can sort, show paths, show anything.

But if I do this in Powerbasic:
DoThis$="dir /s/b/n *.fdb"
Shell DoThis$
I get this:
C:\Legacy~1\Legacy~1\Carneal
C:\Presen~1\Demo\Demoda~1

and so on, which makes sorting confusing at times.
Is there an easy way to preserve the long names?
I am curious as to why when the command is executed from a batch
file the data it gets is different from when the command is
executed from inside a Powerbasic program? Anyone know please?
Thank you.
Robert
------------------
[This message has been edited by Robert E. Carneal (edited February 09, 2005).]
Comment