Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create directory failing on WinXP Home
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Create directory failing on WinXP Home
Miscellaneous
Thread ID:
00808685
Message ID:
00808685
Views:
42
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
Next
Reply
Map
View

Click here to load this message in the networking platform