Esporta (0) Stampa
Espandi tutto
Arp
At
Cd
Cls
Cmd
Del
Dir
Fc
For
Ftp
If
Ldp
Lpq
Lpr
Md
Mmc
Msg
Nlb
Rcp
Rd
Reg
Rem
Ren
Rsh
Rsm
Rss
Sc
Set
Sfc
Ver
Vol
Espandi Riduci a icona

Freedisk

Aggiornamento: settembre 2007

Si applica a: Windows Server 2008, Windows Vista

Checks to see if the specified amount of disk space is available before continuing with an installation process.

For examples of how this command can be used, see Examples.

Syntax

freedisk [/s <Computer> [/u [<Domain>\]<User> [/p [<Password>]]]] [/d <Drive>] [<Value>]

Parameters

 

Parameter Description

/s <Computer>

Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer. This parameter applies to all files and folders specified in the command.

/u [<Domain>\]<User>

Runs the script with the permissions of the specified user account. The default is system permissions.

/p [<Password>]

Specifies the password of the user account that is specified in /u.

/d <Drive>

Specifies the drive for which you want to find out the availability of free space. You must specify <Drive>for a remote computer.

<Value>

Checks for a specific amount of free disk space. You can specify <Value>in bytes, KB, MB, GB, TB, PB, EB, ZB or YB.

Remarks

  • Utilizzo delle opzioni da riga di comando /s, /u e /p Le opzioni da riga di comando /u e /p sono disponibili solo se si utilizza l'opzione /s. Per specificare la password dell'utente, è necessario utilizzare il parametro /p con il parametro /u.

  • For unattended installations, you can use freedisk in installation batch files to check for the prerequisite amount free space before continuing with the installation.

  • When you use freedisk in a batch file, it returns a 0 if there is enough space and a 1 if there is not enough space.

Examples

Examples

To determine whether there are at least 50 MB of free space available on drive C:, type:

freedisk 50mb 

Output similar to the following appears on the screen:

INFO: The specified 52,428,800 byte(s) of free space is available on current drive.

Additional references

Il documento è risultato utile?
(1500 caratteri rimanenti)
Grazie per i commenti inviati.

Aggiunte alla community

AGGIUNGI
Mostra:
© 2014 Microsoft