Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRY-CATCH Error handling with Floppy Disk
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01284220
Message ID:
01284236
Views:
11
>Tommy,
>
>You could check before the copy starts if there is enough space, like if diskspace('a') > fsize(file) (not suggesting using fsize, just an example, adir would be better probably) That will prevent both messages from appearing

I tried the diskspace("a") command from the command window and got the same error message displayed, twice, before it printed -1 on the screen. ????

It should've just printed the -1 without the error.

I may need to reboot the PC.... strange things happening.....
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform