• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1125
  • 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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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