Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > VFP 9: MD Bug
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 822 of 861
Post > Topic >>

VFP 9: MD Bug

by Gene Wirchenko <genew@[EMAIL PROTECTED] > Jan 1, 2008 at 07:46 PM

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.
 




 9 Posts in Topic:
VFP 9: MD Bug
Gene Wirchenko <genew@  2008-01-01 19:46:04 
Re: VFP 9: MD Bug
"swdev2" <ws  2008-01-01 22:59:44 
Re: VFP 9: MD Bug
Rush Strong <rpstrong@  2008-01-02 06:04:04 
Re: VFP 9: MD Bug
"swdev2" <ws  2008-01-02 00:17:42 
Re: VFP 9: MD Bug
Gene Wirchenko <genew@  2008-01-03 14:46:05 
Re: VFP 9: MD Bug
"swdev2" <ws  2008-01-04 00:30:14 
Re: VFP 9: MD Bug
Gene Wirchenko <genew@  2008-01-04 09:30:27 
Re: VFP 9: MD Bug
"swdev2" <ws  2008-01-04 00:47:03 
Re: VFP 9: MD Bug
tim_witort@[EMAIL PROTECT  2008-01-08 11:23:15 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 1:31:30 CDT 2008.