Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RMDIR and W2K / XP problem
Message
From
01/10/2002 08:34:46
 
 
To
01/10/2002 02:18:15
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706247
Message ID:
00706302
Views:
15
>Hi all,
>
>I have a problem with RMDIR
>under W2K and XP the command fails with error 1705. If I start the debugger right before the RMDIR and single step it, all works fine. The error parameters hold some nonsense like "File access is denied HEADER2" where I have no idea what HEADER2 is.
>
>The scenario I run into this:
>
>I create a temporary directory somewhere on my local drives with SYS(2015)
>I create some DBC within this.
>I close all tables
>I zip the files in that directory once with dynazip
>I use GetAllZipFileInfo to get information about the zipped files
>I use the CRC from this to create a password for the zipfile
>I zip all files again with password and autodelete
>I CHDIR to a differnt location
>I RMDIR the temporary directory
>
>Under Win98 and NT this runs fine, under W2K and XP it crashes.
>
>Any idea to work around this?

Try erasing all the files in the temporary directory before issuing the RMDIR - RMDIR will not remove folders containing files or subfolders under some OS versions.

>
>TIA
>
>Agnes
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform