>>Yes...you're correct...the code is not shown exact...and your assumption at what I was getting at was correct...
>>
>>The problem now is getting rid of the bad dir...so what is WSH?
>
>Bob,
>
>WSH is the Windows Scripting Host. But instead of using
>that an easier way which worked on Windows 2000 VFP6
>is just to use the same command you used to create the
>directory but replace MD with RD:
>
>
>MD "C:\Test\ \"
>
>RD "C:\Test\ \"
>
>
>
>However this only works if you use the same amount of
>spaces for the name of the folder.
This should be easy, these directories, no matter how weird named, should still be found by adir(), stuffed into nice variables, which should be used with the above commands.
BTW, FP 1.02 and some versions of GWBasic were the only beasts I managed to persuade into creating filenames with embedded spaces under DOS3.1 - don't know how they managed to circumvent the OS limitations. Another good one was an unreachable directory - just name it CD, and try to "cd cd".