Solved

Create a partition

Posted on 2003-11-11
8
1,077 Views
Last Modified: 2013-11-13
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
Comment
Question by:macchitella
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:saienlyh
Comment Utility
hard
0
 
LVL 45

Expert Comment

by:sunnycoder
Comment Utility
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
 

Author Comment

by:macchitella
Comment Utility
I must create a partition with a script during windows 2000 installation. I have thinking to do a tool with VB.
0
 
LVL 45

Expert Comment

by:sunnycoder
Comment Utility
>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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:macchitella
Comment Utility
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
 
LVL 2

Expert Comment

by:mingz
Comment Utility
You can do it with windows scripting..
0
 
LVL 45

Expert Comment

by:sunnycoder
Comment Utility
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
 
LVL 2

Accepted Solution

by:
mingz earned 500 total points
Comment Utility
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you don't know how to downgrade, my instructions below should be helpful.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now