Execute; Fdisk - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

Field
0
-rwh
2020 13:45:28 xx.xx

execute

Use
execute
Syntax
execute filename
Views
System view
Predefined user roles
network-admin
Parameters
filename:
Usage guidelines
A batch file contains a set of commands. Executing a batch file executes the commands in the file
one by one.
To execute a batch file on the device, create a batch file on a PC and load the batch file to the device.
As a best practice, try every command on the device to make sure the command line can be
executed correctly before adding the command to a batch file. If a command is invalid or a condition
for executing the command is not met, the command fails and the system continues to execute the
next command.
When executing an interactive command in a batch file, the system uses the default inputs.
Examples
# Execute batch file test.bat.
<Sysname> fdisk usba: 3
[Sysname] execute test.bat

fdisk

Use
fdisk
Syntax
fdisk medium [ partition-number ]
Description
File or directory information:
0—File or directory number, which is automatically allocated by the
system.
-rwh—Attributes of the file or directory. The first character is the
directory indicator (d for directory and – for file). The second character
indicates whether the file or directory is readable (r for readable). The
third character indicates whether the file or directory is writable (w for
3144 Jan 26
writable). The fourth character indicates whether the file or directory is
hidden (h for hidden, - for visible). Modifying, renaming, or deleting
hidden files might affect functions.
3144—File size in bytes. For a directory, a hyphen (-) is displayed.
Jan 26 2020 13:45:28—Last date and time when the file or directory
was modified.
xx.xx—File or directory name.
to execute a batch file.
Specifies the name of a batch file.
to partition a storage medium.
7

Advertisement

Table of Contents
loading

Table of Contents