[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Create a partition

Posted on 2003-11-11
8
Medium Priority
?
1,121 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 

Expert Comment

by:saienlyh
ID: 9721669
hard
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9721759
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
ID: 9721913
I must create a partition with a script during windows 2000 installation. I have thinking to do a tool with VB.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 45

Expert Comment

by:sunnycoder
ID: 9722072
>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
 

Author Comment

by:macchitella
ID: 9722486
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
ID: 9728733
You can do it with windows scripting..
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 9728739
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 1000 total points
ID: 9728749
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
If you don't know how to downgrade, my instructions below should be helpful.
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

656 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