Format a floppy in ACCESS without creating a batch file
Posted by: fredometro on
Jan 6th, 2004 |
Filed under: MS-Access
Quertion: I would like to know if you can format a floppy in ACCESS without creating a batch file
Fredix gave this response on 11/14/2000:
Yes, you can do this. Here is a function for Windows NT:
Public Function FormatFloppy()
Dim nil
nil = Shell("c:\\winnt\\system32\\cmd.exe /c format a:", vbNormalFocus)
End Function
For Windows 95,98 or ME:
Public Function FormatFloppy()
Dim nil
nil = Shell("c:\\windows\\command.com /c format a:", vbNormalFocus)
End Function
Best regards.
No related posts.

Tags:
Add A Comment
You must be logged in to post a comment.