• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Partition size using command line

Started by GSM, 2009.07.22, 04:31:10

Previous topic - Next topic

GSM

Hi all,
How to know the size of partion using os/2 commands in commandline?

Andi


RobertM

#2
Quote from: Andi on 2009.07.22, 11:49:19
chkdsk

Hi GSM,

In particular, you should use:

chkdsk <DRIVE:> /f:0

That will do no repairs and just report information regarding the partition. Another option is chkdsk <DRIVE:> /c which will only repair the partition if it is damaged.

More info on chkdsk can be found by going to an OS/2 Command Prompt and typing "chkdsk /help


And of course, a simple REXX script will also accomplish what you want without the overhead.

Rob


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|