• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1128
  • Last Modified:

Create a partition

I have a SCSI disk of 40 Gb. In this HD there is one partition of 10 Gb. I want to create a partition of 30 Gb. How is possible to do this with API and VB6?
0
macchitella
Asked:
macchitella
  • 3
  • 2
  • 2
  • +1
1 Solution
 
saienlyhCommented:
hard
0
 
sunnycoderCommented:
LOL @ saienlyh
macchitella ::
any special reasons why you wish to use VB for disk partitioning ?
I would suggest using something more "conventional" such as fdisk or partition magic to partition drives
0
 
macchitellaAuthor Commented:
I must create a partition with a script during windows 2000 installation. I have thinking to do a tool with VB.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
sunnycoderCommented:
>during windows 2000 installation
Do you think APIs and VB will be available before the system is installed? You will have to depend on a tool... Moreover, IMHO, it is not a good idea to automate partitioning in such a way ... the user may have something else in mind ... how do you know that user would be having a 40 Gb disk each time and would like to have a 10-30 partitioning ?
0
 
macchitellaAuthor Commented:
The situation is this:
1) Installation of SO Windows 2000 Server;
2) After installation run the script that create a new partition D: and format the new partition.
0
 
mingzCommented:
You can do it with windows scripting..
0
 
sunnycoderCommented:
If you are sure that this is what you want indeed, then why insist on VB ? use some other tool .. I dont believe there is an API like
format(whole_hard_disk);
0
 
mingzCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now