Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create directory failing on WinXP Home
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Create directory failing on WinXP Home
Divers
Thread ID:
00808685
Message ID:
00808685
Vues:
41
I have a routine used to backup data to a user specified driver. The code fails to create the directory on a Windows XP Home computer if the user selects the root of any drive to place the backup directory in. In its simplest form, here is the code that fails:
  MDISKDRV = GETDIR("C:","Backup Directory")
  MDISKDRV = MDISKDRV + "BPABCK"
  MD (MDISKDRV)

  COPY FILE *.DBF TO (MDISKDRV+"\*.DBF")
The odd thing is that this code works when run interpretively on the computers that it fails on when run in a compiled executable. The only computers that it fails on in our network are our 2 XP Home machines.

Any suggestions?

Thanks.
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform