The md command can be used to create more than one level of
directory at once:
md new1\new2
where new1 does not already exist, works fine.
Unfortunately, there is a bug. Apparently, if more than one
level of directory does not already exist, the directory names are
created in lower case.
With the current VFP directory one that does not already have
either subdirectories/files ABC or DEF, try the following program:
********** Start of Test Program **********
md ABC\ABC
md ABC\DEF
md DEF
wait
rd ABC\ABC
rd ABC\DEF
rd ABC
rd DEF
wait
md ABC
md ABC\ABC
md ABC\DEF
md DEF
wait
rd ABC\ABC
rd ABC\DEF
rd ABC
rd DEF
wait
md ABC\ABC\ABC
md ABC\DEF
wait
rd ABC\ABC\ABC
rd ABC\ABC
rd ABC\DEF
rd ABC
return
********** End of Test Program **********
At each wait, have a look at the directory names with Windows
Explorer. (1) Remember to refresh. 2) Mind that you are not in any
of the created directories when the rd commands are executed.) The
first and third md sets have the problem. The second does not.
Sincerely,
Gene Wirchenko
Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


|