请帮忙!格式化磁盘programmaticaly [英] Please Help! Format disk programmaticaly

查看:78
本文介绍了请帮忙!格式化磁盘programmaticaly的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的appl中格式化vc ++中的磁盘

我正在使用SHFormatDrive(...)函数

但这个shell函数打开一个对话窗口来确认用户格式化磁盘

我想格式化磁盘而没有对话框获胜


谢谢你

I need to format disk in my appl in vc++
I am using SHFormatDrive(...) function
but this shell function opens a dialog window to confirm user to format disk
I want to format disk without dialog win

thank yo

推荐答案

你想格式化驱动器而不通知用户...呃...声音

不错;)


" ;波拉" <一个******* @ discussions.microsoft.com>在消息中写道

news:69 ********************************** @ microsof t.com ...
You want to format the drive without informing the user ... erm ... sounds
nice ;)

"Pola" <an*******@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
我需要在我的appl中用vc ++格式化磁盘,
我正在使用SHFormatDrive(...)函数,
但这个shell函数打开一个对话框窗口确认用户格式化
磁盘,我想格式化磁盘而没有对话框获胜。

谢谢
I need to format disk in my appl in vc++,
I am using SHFormatDrive(...) function,
but this shell function opens a dialog window to confirm user to format disk, I want to format disk without dialog win.

thank you



Hy,


调用format.com(在System32目录中并覆盖你需要的参数

)。


这应该有效。


Joerg


" Pola" <一个******* @ discussions.microsoft.com> schrieb im Newsbeitrag

新闻:69 ********************************** @ microsof t.com ...
Hy,

call the format.com (In the System32 directory and overgive the parameters
you need).

This should work.

Joerg

"Pola" <an*******@discussions.microsoft.com> schrieb im Newsbeitrag
news:69**********************************@microsof t.com...
我需要在我的appl中用vc ++格式化磁盘,
我正在使用SHFormatDrive(...)函数,
但这个shell函数打开一个对话框窗口确认用户格式化
磁盘,我想格式化磁盘而没有对话框获胜。

谢谢
I need to format disk in my appl in vc++,
I am using SHFormatDrive(...) function,
but this shell function opens a dialog window to confirm user to format disk, I want to format disk without dialog win.

thank you



谢谢,

但format.com还要求确认用户的格式

thank you,
but format.com also request to confirm the format from the user


这篇关于请帮忙!格式化磁盘programmaticaly的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆