Just wondering if anyone has come across this one before. I just got a new computer and went from Windows 98 to XP. In one program I issue the following cobol statement:
01 wa-work-area.
05 wa-dos-command pic x(30) value
"dir /b *.src-arc > dirlist.txt"
call "system" using wa-dos-command.
Using Windows 98 I got the following in dirlist which is what I want:
prg000.src-arc
prg001.src-arc
prg002.src-arc
etc.
Using XP I got the following which causes me a problem:
prg000~1.src-arc
prg001~1.src-arc
prg002~2.src-arc
etc.
Anybody have any idea how I can get the same type of list that I got with Win98? Is there perhaps another switch I could use with the "dir" command?
Thanks,
Ted
01 wa-work-area.
05 wa-dos-command pic x(30) value
"dir /b *.src-arc > dirlist.txt"
call "system" using wa-dos-command.
Using Windows 98 I got the following in dirlist which is what I want:
prg000.src-arc
prg001.src-arc
prg002.src-arc
etc.
Using XP I got the following which causes me a problem:
prg000~1.src-arc
prg001~1.src-arc
prg002~2.src-arc
etc.
Anybody have any idea how I can get the same type of list that I got with Win98? Is there perhaps another switch I could use with the "dir" command?
Thanks,
Ted