Click to See Complete Forum and Search --> : Win 2000 - DOS programs access to floppy


gjr
August 1st, 2002, 07:51 PM
When running a DOS app in a (non-networked) Win 2000 DOS box, the DOS app tries to copy a file to a floppy drive. Windows denies the app permission to write to drive A: while I can still use DOS to copy files to the floppy from the DOS box. (Everything works OK in Win 98). Is there some Windows 2000 security setting that can deny the user access to a floppy drive??

Kdr Kane
August 2nd, 2002, 08:53 AM
There is no security setting causing the problem. It has more to do with direct access to devices. In W2K, applications should really use API's to access storage.

However, you can try this. Enable compatibility mode (if it's not already). Create an icon for your application on the desktop. Set the compatibility mode for the icon to Win 9x. Then run it.

It may or may not work depending on how the application is trying to access the floppy.

gjr
August 4th, 2002, 03:48 AM
Thanks for the reply. The software is using standard DOS calls rather than trying to directly access the hardware - and works OK if the destination is a harddrive or the OS is Win98 etc.

What is "compatibility" mode? Where is this set? There is no option like this in the property sheets for the LNK??

Kdr Kane
August 4th, 2002, 10:21 AM
Running the command regsvr32 %systemroot%\apppatch\slayerui.dll will enable the compatibility mode panel in your shortcut or icon properties.

Kdr Kane
August 4th, 2002, 10:23 AM
I tried writing some old assembly language programs in W2K DOS that accessed the drives. The DOS interrupts were not supported and caused errors.