Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 17462, Setdisk function works differently under WIN32

by Robert Dennis Email: Anonymous

Using Borland C++ Compiler version 4.5.2: Setdisk under WIN32 resets the path of the target drive designator to the original path. Setdisk under DOS does not reset the path. Setdisk under WIN32 should work the same as it does under DOS.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For C++Builder, Version 2.0  to 5.0 107 downloads
Copyright: No significant restrictions

Size: 1,590,207 bytes
Updated on Thu, 24 Jan 2002 14:16:18 GMT
Originally uploaded on Thu, 24 Jan 2002 14:16:48 GMT
SHA1 Hash: C7D7F916C49369543666302AB0D33640CCC2F5BB
MD5 Hash: 5ED940D807C074881924A34E03874262

    Explore the files in this upload

Setdisk is supposed to do exactly as its name implies: change the default drive to the specified drive designator. It should leave the path alone (chdir is used to change the path). This is the way setdisk works under DOS. However, when setdisk is used under WIN32, it also changes the path back to the original directory. The way setdisk works under WIN32 is wrong and should be changed to work the way it works under DOS.

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC04