General discussion

Locked

Disk Partitions from the command line.

By russell.slater ·
Does any one know of a way to create a disk partition from the command line or VBScript on Windows 2000?

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Disk Partitions from the command line.

by Prunsky In reply to Disk Partitions from the ...

The best way I found is to use Partition comander or partition magic
other than that you can only resize or partion you disk through disk manager and you cant do anything to you primary system disk
if you really want to do it the best way is whenyou do a 2000 setup it alows you to delete resize Hard disks

Collapse -

Disk Partitions from the command line.

by russell.slater In reply to Disk Partitions from the ...

Poster rated this answer

Collapse -

Disk Partitions from the command line.

by Prunsky In reply to Disk Partitions from the ...

The best way I found is to use Partition comander or partition magic
other than that you can only resize or partion you disk through disk manager and you cant do anything to you primary system disk
if you really want to do it the best way is whenyou do a 2000 setup it alows you to delete resize Hard disks

Collapse -

Disk Partitions from the command line.

by russell.slater In reply to Disk Partitions from the ...

Poster rated this answer

Collapse -

Disk Partitions from the command line.

by Lo In reply to Disk Partitions from the ...

Humm ... That sounds like an odd request.

I would expect a VB Script be executed by a 'user type' person, who adds data, researches, produces reports, etc. Not sure I would allow open up disk partitioning in that environment. Usually done by IT Dept/Help Desk and with nothing else running to ensure that nothing gets lost.

There is a way to start an application from VB (may not be available in VB Script). Forget the syntax, *RUN* something or other. Once it gets started you can send data to the window from VB. Unless you put a frontend to it, there is not way to controll what the operator does, so if they were to decide to delete/format a partition other than the one you wanted done, you probably coundn't prevent it.

Collapse -

Disk Partitions from the command line.

by russell.slater In reply to Disk Partitions from the ...

Poster rated this answer

Collapse -

Disk Partitions from the command line.

by rvkempen In reply to Disk Partitions from the ...

You can use fdisk with an input file,
fdisk < inputfile.txt
where inputfile.txt looks something like :
n
1
1
etc

watch the keystrokes you use to create a primairy prtition, and fill them in here, you have to find out the alt code for the escape key, i don't know this one anymore.

Good luck

Ron.

Collapse -

Disk Partitions from the command line.

by russell.slater In reply to Disk Partitions from the ...

Fdisk does not work when Windows 2000 is running.

Collapse -

Disk Partitions from the command line.

by jesselou In reply to Disk Partitions from the ...

there is a utility native to win2k which is the diskpart you can find it in your recovery console, in your winnt directory or i386 directory in your w2k cd. to use it check options you like by typing diskpart /? in your command line.

Collapse -

Disk Partitions from the command line.

by russell.slater In reply to Disk Partitions from the ...

Poster rated this answer

Back to Windows Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums