PDA

Click to See Complete Forum and Search --> : How can I run scandisk in VB


KitkatRobins
Mar 9th, 2001, 04:52 AM
How can I run scandisk in VB and have the scan disk options in my program??

HaxSoft
Mar 9th, 2001, 01:13 PM
Here is a pointer in the right direction. You may have to monkey around with it to make it work for your needs.

Hope it helps.

PS: Do NOT assume that the scandisk exe file necessarily resides in the C:\Windows directory. Use the API call that returns the Windows directory:

http://www.vbapi.com/ref/g/getwindowsdirectory.html

Good luck with it