文档库 最新最全的文档下载
当前位置:文档库 › FLUENT:Text Command List文本命令一览表

FLUENT:Text Command List文本命令一览表

FLUENT:Text Command List文本命令一览表
FLUENT:Text Command List文本命令一览表

FLUENT6.3Text Command List September2006

Copyright c 2006by Fluent Inc.

All Rights Reserved.No part of this document may be reproduced or otherwise used in any form without express written permission from Fluent Inc.

Airpak,FIDAP,FLUENT,FLUENT for CATIA V5,FloWizard,GAMBIT,Icemax,Icepak, Icepro,Icewave,Icechip,MixSim,and POLYFLOW are registered trademarks of Fluent Inc.All other products or name brands are trademarks of their respective holders.

CHEMKIN is a registered trademark of Reaction Design Inc.

Portions of this program include material copyrighted by PathScale Corporation

2003-2004.

Fluent Inc.

Centerra Resource Park

10Cavendish Court

Lebanon,NH03766

Contents

adapt/1 define/5 display/25 exit37 file/39 grid/45 parallel/47 plot/51 report/53 solve/57 surface/63 turbo/65 view/67

c Fluent Inc.October5,2006TOC-1

CONTENTS

TOC-2c Fluent Inc.October5,2006

adapt/ adapt-to-gradients Adapt grid based on the gradient adaption function from the se-lected scalar quantity,the adaption threshold values,and the adaption limits. adapt-to-ref-lev Adapt cells based of re?nement level di?erences.

adapt-to-register Adapt grid based on the selected adaption register and adaption limits.

adapt-to-y+Adapt cells associated with all wall zones based on the speci?ed threshold values and adaption limits.

adapt-to-y+-zones Adapt cells associated with speci?ed wall zones based on the spec-i?ed threshold values and adaption limits.

adapt-to-y*Adapt cells associated with all wall zones based on the speci?ed threshold values and adaption limits.

adapt-to-y*-zones Adapt cells associated with speci?ed wall zones based on the spec-i?ed threshold values and adaption limits.

change-register-type Toggle speci?ed register between re?nement and mask. combine-registers Combine the selected adaption and/or mask registers to create hy-brid adaption functions.

delete-register Delete an adaption register.

display-register Display the cells marked for adaption in the speci?ed adaption reg-ister.

exchange-marks Exchange the re?nement and coarsening marks of the speci?ed adap-tion register.

fill-crsn-register Mark all cells to coarsen that are not marked for re?nement in the adaption register.

free-parents Delete the hanging node face and cell hierarchy.

free-registers Delete all adaption and mask registers.

invert-mask Change all the active cells to inactive cells in a mask register.

adapt/

limit-register Apply the adaption volume limit to the selected register.

list-registers Print a list of the current registers including the ID,description(name), number of cells marked for re?nement and coarsening,and the type.

mark-boundary-cells Mark boundary cells based on a list of zones for re?nement.

mark-boundary-normal Mark cells for re?nement based on target boundary normal dis-tance.

mark-boundary-vol Mark cells for re?nement based on target boundary volume.

mark-inout-circle Mark cells with centroids inside/outside the circular region de?ned by text or mouse input.

mark-inout-cylinder Mark cells with centroids inside/outside the arbitrarily oriented rectangular region de?ned by text or mouse input.

mark-inout-hexahedron Mark cells with centroids inside/outside the hexahedral region de?ned by text or mouse input.

mark-inout-iso-range Mark cells for re?nement that have values inside/outside the speci?ed isovalue ranges of the selected?eld variable.

mark-inout-rectangle Mark cells with centroids inside/outside the rectangular region de?ned by text or mouse input.

mark-inout-sphere Marks cells with centroids inside/outside the spherical region de-?ned by text or mouse input.

mark-percent-of-ncells Mark percent of total cell count for adaption based on gradi-ent or isovalue.

mark-with-gradients Mark cells for adaption based on?ow gradients for re?nement.

mark-with-max-volume Mark cells for adaption based on maximum allowed volume.

mark-with-ref-lev Mark cells based on re?nement level di?erences.

mark-with-vol-change Mark cells with large changes in cell volume for re?nement.

mark-with-y+Mark cells associated with all wall zones for re?nement or coarsening based on the speci?ed threshold values.

mark-with-y+-zones Mark only cells associated with speci?ed wall zones for re?nement or coarsening based on the speci?ed threshold values.

mark-with-y*Mark cells associated with all wall zones for re?nement or coarsening based on the speci?ed threshold values.

2c Fluent Inc.October5,2006

adapt/ mark-with-y*-zones Mark only cells associated with speci?ed wall zones for re?nement or coarsening based on the speci?ed threshold values.

refine-bndry-cells Re?nes the boundary cells based on the speci?ed list of zones and adaption limits.

refine-large-cells Re?ne cells that are larger than prescribed volume.

refine-to-vol-change Re?ne cells with large changes in cell volume.

set/Enter the adaption set menu.

cell-zones Set cell zones to be used for marking adaption.

coarsen-grid?Turn on/o?ability to coarsen grid.

display-crsn-settings Prompt for coarsening wireframe visibility and shading, and the marker visibility,color,size and symbol.

display-node-flags Display color coded markers at the nodes specifying the node type.

display-refn-settings Prompt for re?nement wireframe visibility and shading, and the marker visibility,color,size and symbol.

grad-vol-weight Control the volume weighting for the gradient adaption func-tion.

hanging-node?Turn on/o?the use of hanging node adaption.When this option is turned o?,the conformal adaption method will be used.

init-node-flags Initialize the node?ags.

max-number-cells Limit the total number of cells produced by re?nement.

min-cell-volume Restrict the size of the cells considered for re?nement.

orig-node-settings Prompt for the desired node removal status of original bound-ary,internal,and periodic nodes.

reconstruct-geometry Enable/disable geometry-based adaption.

refine-grid?Turn on/o?grid adaption by point addition.

refn-node-settings Prompt for the desired node removal status of boundary, internal,and periodic nodes produced by adaptive grid re?nement.

set-geometry-controls Set geometry controls for wall zones.

smooth-grid Smooth the grid using Laplace or skewness methods.

swap-grid-faces Swap the faces of cells that do not meet the Delaunay circle test.

c Fluent Inc.October5,20063

adapt/

4c Fluent Inc.October5,2006

define/

boundary-conditions/Enter the boundary conditions menu.

axis Set boundary conditions for a zone of this type.

copy-bc Copy boundary conditions to other zones.To copy conditions to all zones of a certain type,use a*in the name(e.g.,specify wall-*as the name of

the zone to which you want to copy the conditions).

exhaust-fan Set boundary conditions for a zone of this type.

fan Set boundary conditions for a zone of this type.

fluid Set boundary conditions for a zone of this type.

inlet-vent Set boundary conditions for a zone of this type.

intake-fan Set boundary conditions for a zone of this type.

interface Set boundary conditions for a zone of this type.

interior Set boundary conditions for a zone of this type.

list-zones Print out the types and IDs of all zones in the console window.You can use your mouse to check a zone ID,following the instructions listed under

Zone in the description of the Boundary Conditions panel.

mass-flow-inlet Set boundary conditions for a zone of this type.

openchannel-threads List open channel group IDs,names,types and variables.

modify-zone/Enter the modify zones menu.

activate-cell-zone Activate cell thread.

append-mesh Append new mesh.

append-mesh-data Append new mesh with data.

deactivate-cell-zone Deactivate cell thread.

create-all-shell-threads Create all shells.

delete-all-shells Delete all shells.

delete-cell-zone Delete a cell thread.

extrude-face-zone-delta Extrude a face thread a speci?ed distance based on a list of deltas.

extrude-face-zone-para Extrude a face thread a speci?ed distance based on

a distance and a list of parametric locations between0and1,

e.g.,00.20.40.81.0.

define/

fuse-face-zones Attempt to fuse zones by removing duplicate faces and nodes.

list-zones List zone IDs,types,kinds,and names.

make-periodic Attempt to establish periodic/shadow face zone connectivity.

matching-tolerance Set normalized tolerance used for?nding coincident nodes.

merge-zones Merge zones of same type and condition into one.

mrf-to-sliding-mesh Change the motion speci?cation from MRF to moving grid.

orient-face-zone Orient the face zone.

repair-face-handedness Reverse orientation of left-handed faces.

repair-periodic Modify the grid to enforce a rotational angle or trans-lational distance for periodic boundaries.For translationally periodic

boundaries,the command computes an average translation distance and

adjusts the node coordinates on the shadow face zone to match this dis-

tance.For rotationally periodic boundaries,the command prompts for

an angle and adjusts the node coordinates on the shadow face zone using

this angle and the de?ned rotational axis for the cell zone.

replace-zone Replace cell zone.

sep-cell-zone-mark Separate cell zone based on cell marking.

sep-cell-zone-region Separate cell zone based on contiguous regions.

sep-face-zone-angle Separate face zone based on signi?cant angle.

sep-face-zone-face Separate each face in zone into unique zone.

sep-face-zone-mark Separate face zone based on cell marking.

sep-face-zone-region Separate face zone based on contiguous regions.

slit-periodic Slit periodic zone into two symmetry zones.

slit-face-zone Slit two-sided wall into two connected wall zones.

zone-name Give a zone a new name.

zone-type Set a zone’s type.You will be prompted for the ID of the zone to be changed and the new boundary type for that zone.

non-reflecting-bc/Enter the non-re?ecting boundary condition menu.

general-nrbc/Setting for general non-re?ecting b.c.

set/Enter the setup menu for general non-re?ecting b.c.’s.

sigma Set NRBC sigma factor(default value0.15).

sigma2Set NRBC sigma2factor(default value5.0).

6c Fluent Inc.October5,2006

define/

turbo-specific-nrbc/Enter the turbo speci?c nrbc menu.

enable?Enable/disable non-re?ecting b.c.’s.

initialize Initialize non-re?ecting b.c.’s.

set/Enter the set menu for non-re?ecting b.c.parameters.

discretization Enable use of higher-order reconstruction at bound-

aries if available.

under-relaxation Set non-re?ecting b.c.under-relaxation factor.

verbosity Set non-re?ecting b.c.verbosity level.0:silent,1:basic

info.(default),2:detailed info.for debugging.

show-status Show current status of non-re?ecting b.c.’s.

outflow Set boundary conditions for a zone of this type.

outlet-vent Set boundary conditions for a zone of this type.

periodic Set boundary conditions for a zone of this type.

porous-jump Set boundary conditions for a zone of this type.

pressure-far-field Set boundary conditions for a zone of this type.

pressure-inlet Set boundary conditions for a zone of this type.

pressure-outlet Set boundary conditions for a zone of this type.

radiator Set boundary conditions for a zone of this type.not supported in FLUENT not supported in FLUENT

shadow Set boundary conditions for a zone of this type.

solid Set boundary conditions for a zone of this type.

symmetry Set boundary conditions for a zone of this type.

target-mass-flow-rate-settings/Enter the targeted mass?ow rate set-tings menu.

set-method Select method for setting the mass?ow rate.

verbosity?Enable/disable verbosity when using targeted mass?ow rate.

velocity-inlet Set boundary conditions for a zone of this type.

wall Set boundary conditions for a zone of this type.

zone-name Give a zone a new name.

zone-type Set a zone’s type.

c Fluent Inc.October5,20067

define/

custom-field-functions/Enter the custom?eld functions menu.

define De?ne a custom?eld function.

delete Delete a custom?eld function.

example-cff-definitions List example custom?eld functions.

list-valid-cell-function-names List the names of cell functions that can be used in a custom?eld function.

load Load a custom?eld function.

save Save a custom?eld function.

dynamic-zones/Enter the dynamic zone boundary conditions menu.

create Create dynamic zone.

delete Delete dynamic zone.

insert-boundary-layer Insert new cell zone.

insert-interior-layer Insert new layer cell zone at speci?ed location.

list List dynamic zones.

remove-boundary-layer Remove cell zone.

remove-interior-layer Remove interior layer cell zone.

grid-interfaces/Enter the grid-interfaces menu.

create Create a grid-interface.

delete Delete a grid-interface.

draw Draw speci?ed sliding interface zone.

list List all grid-interfaces.

make-periodic Make interface zones periodic.

recreate Recreate all currently de?ned grid interfaces.

reset Delete all sliding-interfaces.

use-virtual-polygon-approach Use new virtual polygon approach for in-terfaces.

injections/Enter the injections menu.

For a description of the items in this menu,see define/models/dpm/injections. 8c Fluent Inc.October5,2006

define/

materials/Enter the materials menu.

change-create Change the properties of a locally-stored material or create

a new material.

copy Copy a material from the database.

copy-by-formula Copy a material from the database by formula.

delete Delete a material from local storage.

list-materials List all locally-stored materials.

list-properties List the properties of a locally-stored material.

data-base/Enter the material database menu.

database-type Set the database type.

edit Edit material.

list-materials List all materials in the database.

list-properties List the properties of a material in the database.

new De?ne new material.

save Save user-de?ned database.

mixing-planes/Enter the mixing planes menu.

create Create a mixing plane.

delete Delete a mixing plane.

list List de?ned mixing plane(s).

set/Set global parameters relevant to mixing planes.

under-relaxation Set mixing plane under-relaxation factor.

fix-pressure-level Set?xed pressure level using value based on define/reference-pressure-location.

conserve-swirl/Enter the menu to set swirl conservation in mixing plane menu.

enable?Enable/disable swirl conservation in mixing plane.

verbosity?Enable/disable verbosity in swirl conservation calcula-

tions.

report-swirl-integration Report swirl integration(Torque)on in-

?ow and out?ow zones.

conserve-total-enthalpy/Enter the menu to set total enthalpy con-servation in mixing plane menu.

enable?Enable/disable total enthalpy conservation in mixing plane.

c Fluent Inc.October5,20069

define/

verbosity?Enable/disable verbosity in total-enthalpy conservation

calculations.

models/Enter the models menu to con?gure the solver.

acoustics/Enter the acoustics menu.

auto-prune Enable/disable auto prune of the receiver signal(s)during

read-and-compute.

broad-band-noise?Enable/disable the broadband noise model.

compute-write Compute sound pressure.

cylindrical-export?Enable/disable the export of data in cylindrical

coordinates.

display-flow-time?Enable/disable the display of?ow time during read-

and-compute.

export-volumetric-sources?Enable/disable the export of?uid zones.

ffowcs-williams?Enable/disable the Ffowcs-Williams-and-Hawkings model.

off?Enable/disable the acoustics model.

read-compute-write Read acoustic source data?les and compute sound

pressure.

receivers Set acoustic receivers.

sources Set acoustic sources.

write-acoustic-signals Write on-the-?y sound pressure.

write-centroid-info Write centroid info.

addon-module Load addon module.

axisymmetric?Specify whether or not the domain is axisymmetric.

crevice-model?Enable/disable the crevice model.

crevice-model-controls/Enter the crevice model controls menu.

dpm/Enter dispersed phase model menu.

clear-particles-from-domain Remove/keep all particles currently in

the domain.

injections/Enter the injections menu.

create-injection Create an injection.

delete-injection Delete an injection.

list-particles List particle streams in an injection.

10c Fluent Inc.October5,2006

define/ modify-all-injections Enter the menu to set properties for all in-

jections.

cloud-max-diameter Set the maximum cloud diameter.

cloud-min-diameter Set the minimum cloud diameter.

cloud-on?Enable/disable cloud tracking.

injection-type De?ne injection type.

number-of-tries Set the number of stochastic tries.

random-eddy-lifetime?Turn enable/disable a random eddy life-

time.

stochastic-tracking?Turn enable/disable stochastic tracking.

time-scale-constant Set the time scale constant.

rename-injection Rename an injection.

set-injection-properties Set injection properties.

interaction/Set parameters for coupled discrete phase calculations.

coupled-calculations?Select whether or not to couple continuous

and discrete phase calculations.

implicit-momentum-coupling?Enable/disable implicit treatment for

the DPM momentum source terms.

implicit-source-term-coupling?Enable/disable implicit treatment

for all DPM source terms.

no.-of-cont-phase-iters-per-dpm-iter Set the frequency with which

the particle trajectory calculations are introduced.

reset-sources-at-timestep?Enable/disable?ush of DPM source

terms at beginning of every time step.

underrelaxation-factor Set the under-relaxation factor for the dis-

crete phase sources.

update-dpm-sources-every-flow-iteration?Enable/disable the up-

date of DPM source terms every?ow iteration(if this option is not

enabled,the terms will be updated every DPM iteration).

numerics/Enter the numerics menu to set numerical solution parame-ters.

coupled-heat-mass-update Enable/disable coupled heat and mass

update.

tracking-parameters Set parameters for the(initial)tracking step

length.

c Fluent Inc.October5,200611

define/

tracking-scheme Specify a tracking scheme.

error-control?Adapt integration step length based on a maximum

error.

automated-scheme-selection?Enable/disable the adaptation of in-

tegration step length based on a maximum error.

drag-law Set the drag law.on particle temperature.

options/Enter the options menu to set optional models.

brownian-motion Enable/disable Brownian motion of particles.

ensemble-average Ensemble average cloud properties.

erosion-accretion Enable/disable erosion/accretion.

film-separation-angle Set the angle between faces which causes

?lm particles to separate from the wall.

particle-radiation Enable/disable particle radiation.

particle-staggering Enable/disable spatial and temporal stagger-

ing of the particle injections.

saffman-lift-force Enable/disable Sa?man lift force.

step-report-sig-figures Set signi?cant?gures in the step-by-step

report.

thermophoretic-force Enable/disable thermophoretic force.

track-in-absolute-frame Enable/disable tracking in absolute frame.

two-way-coupling Enable/disable calculation of DPM sources in TKE

equation.

parallel/Enter the parallel menu to set parameters for parallel DPM

calculations.

enable-workpile?Turn on/o?particle workpile algorithm.

n-threads Set the number of processors to use for DPM.

report Print particle workpile statistics.

use-message-passing Set DPM parallel-mode to message passing.

use-shared-memory Set DPM parallel-mode to shared memory.

12c Fluent Inc.October5,2006

define/

spray-model/Enter the spray model menu.

droplet-collision?Enable/disable droplet collision model.

droplet-breakup?Enable/disable spray breakup model.

number-of-particles-per-cell Set the average number of particles

per cell.

wave-mass-cutoff Set the minimum percentage of parent parcel mass

shed before new parcel creation.

unsteady-tracking Enable/disable unsteady particle tracking.

user-defined Set DPM user-de?ned functions.

dynamic-mesh?Enable/disable the dynamic-mesh solver.

dynamic-mesh-controls/Enter the dynamic mesh control menu.

auto-hide-cells?Enable/disable automatic hiding of skewed cells.

events/Enter the dynamic mesh events menu.

export-event-file Export dynamic mesh events to?le.

import-event-file Import dynamic mesh event?le.

in-cylinder-parameter/Enter the dynamic mesh in-cylinder menu.

crank-angle-step Specify crank angle step size.

max-crank-angle-step Specify maximum crank angle step size.

minimum-lift Specify minimum lift for in-cylinder valves.

minimum-stroke Specify cut o?point for in-cylinder piston.

modify-lift Modify lift curve(shift or scale).

piston-data Specify piston stroke and connecting rod length.

position-starting-mesh Move mesh from top dead center to start-

ing crank angle.

print-plot-lift Print or plot valve lift curve.

layering?Enable/disable dynamic-layering in quad/hex cell zones.

layering-parameter/Enter the dynamic mesh layering menu.

collapse-factor Set the factor determining when to collapse dy-

namic layers.

constant-height?Enable/disable layering based on constant height,

else layering based on constant ratio.

split-factor Set the factor determining when to split dynamic lay-

ers.

c Fluent Inc.October5,200613

define/

remeshing?Enable/disable local remeshing in tri/tet and mixed cell zones.

remeshing-parameter/Enter the dynamic mesh remeshing menu.

cell-skew-max Set the cell skewness threshold above which cells will

be remeshed.

face-remeshing?Enable/disable local face remeshing at deforming

zones.

face-skew-max Set the face skewness threshold above which faces

will be remeshed.

length-max Set the length threshold above which cells will be remeshed.

length-min Set the length threshold below which cells will be remeshed.

must-improve-skewness?Enable/disable cavity replacement only if

remeshing improves the skewness.

size-remesh-interval Set the interval(in time steps)when remesh-

ing based on size is done.

sizing-funct-defaults Set sizing function defaults.

sizing-funct-rate Determine how far from the boundary the in-

crease/decrease happens.

sizing-funct-resolution Set the sizing function resolution with re-

spect to shortest boundary.

sizing-funct-variation Set the maximum sizing function increase/

decrease in the interior.

sizing-function?Enable/disable sizing function to control size based

remeshing.

six-dof-parameter/Enter the dynamic mesh six-dof menu.

motion-history?Enable/disable writing position/orientation of six

DOF zones to?le.

x-component of gravity Specify x-component of gravity.

y-component of gravity Specify y-component of gravity.

z-component of gravity Specify z-component of gravity.

smoothing?Enable/disable spring-based smoothing in tri/tet cell zones.

smoothing-parameter/Enter the dynamic mesh smoothing menu.

bnd-node-relaxation Set the spring boundary node relaxation fac-

tor.

bnd-stiffness-factor Set the sti?ness factor for springs connected

to boundary nodes.

14c Fluent Inc.October5,2006

define/

constant-factor Set the spring constant relaxation factor.

convergence-tolerance Set the convergence tolerance for spring-

based solver.

max-iter Set the maximum number of iterations for spring-based

solver.

skew-smooth-niter Set the number of skewness-based smoothing cy-

cles.

skew-smooth-skew-max Set the skewness threshold above which cells

will be smoothed using skewness method.

spring-on-all-shapes?Enable/disable spring-based smoothing for

all cell shapes.

steady-pseudo-time-control Enable/disable the pseudo time step con-trol in the graphical user interface.

energy?Enable/disable the energy model.

frozen-flux?Enable/disable frozen?ux formulation for transient?ows.

multiphase/Enter the multiphase model menu.

wet-steam/Enter the wet steam model menu.

compile-user-defined-wetsteam-functions Compile user-de?ned

wet steam library.

enable?Enable/disable the wet steam model.

load-unload-user-defined-wetsteam-library Load or unload user-

de?ned wet steam library.

set/Enter the set menu for setting wet steam model options.

max-liquid-mass-fraction Set the maximum limit on the con-

densed liquid-phase mass-fraction to prevent divergence.

noniterative-time-advance?Enable/disable noniterative time advancement scheme.

nox?Enable/disable the NO x model.

nox-parameters/Enter the NO x parameters menu.

inlet-diffusion?Enable/disable inclusion of di?usion at inlets.

nox-chemistry Select NO x chemistry model.

nox-turbulence-interaction Set NO x turbulence interaction model.

c Fluent Inc.October5,200615

define/

radiation/Enter the radiation models menu.

discrete-ordinates?Enable/disable discrete ordinates radiation model.

discrete-transfer?Enable/disable discrete transfer radiation model.

do-coupling?Enable/disable DO/energy coupling.

dtrm-parameters/Enter the dtrm parameters menu.

check-ray-file Read DTRM rays?le.

controls Set dtrm solution controls.

make-globs Make globs(coarser grid)for radiation.

ray-trace Create DTRM rays for radiation.

non-gray-model-parameters Set parameters for non-gray model.

p1?Enable/disable P1radiation model.

radiation-iteration-parameters Set iteration parameters for radia-tion models.

radiation-model-parameters Set parameters for radiation models.

rosseland?Enable/disable Rosseland radiation model.

s2s?Enable/disable S2S radiation model.

s2s-parameters/Enter the S2S parameters menu.

compute-vf-only Compute/write view factors only.

compute-write-vf Compute/write surface clusters and view factors

for S2S radiation model.

enable-poly-to-poly-vf Compute view factors directly for polygon

to polygon surface radiation.

partial-enclosure-temperature Set temperature for the partial en-

closure.

print-thread-clusters Print the following for all boundary threads:

thread-id,number of faces,faces per surface cluster,and the number

of surface clusters.

print-zonewise-radiation Print the zonewise incoming radiation,

viewfactors,and average temperature.

read-vf-file Read S2S?le.

set-global-faces-per-surface-cluster Set global value of faces

per surface cluster for all boundary zones.

set-vf-parameters Set the parameters needed for the view factor

calculations.

16c Fluent Inc.October5,2006

windows文本命令窗口help文档

C:\Users\zwh>help 有关某个命令的详细信息,请键入HELP 命令名 ASSOC 显示或修改文件扩展名关联。 ATTRIB 显示或更改文件属性。 BREAK 设置或清除扩展式CTRL+C 检查。 BCDEDIT 设置启动数据库中的属性以控制启动加载。CACLS 显示或修改文件的访问控制列表(ACL)。 CALL 从另一个批处理程序调用这一个。 CD 显示当前目录的名称或将其更改。 CHCP 显示或设置活动代码页数。 CHDIR 显示当前目录的名称或将其更改。 CHKDSK 检查磁盘并显示状态报告。 CHKNTFS 显示或修改启动时间磁盘检查。 CLS 清除屏幕。 CMD 打开另一个Windows 命令解释程序窗口。COLOR 设置默认控制台前景和背景颜色。 COMP 比较两个或两套文件的内容。 COMPACT 显示或更改NTFS 分区上文件的压缩。CONVERT 将FA T 卷转换成NTFS。您不能转换 当前驱动器。 COPY 将至少一个文件复制到另一个位置。 DA TE 显示或设置日期。 DEL 删除至少一个文件。 DIR 显示一个目录中的文件和子目录。 DISKCOMP 比较两个软盘的内容。 DISKCOPY 将一个软盘的内容复制到另一个软盘。DISKPART 显示或配置磁盘分区属性。 DOSKEY 编辑命令行、调用Windows 命令并创建宏。DRIVERQUERY 显示当前设备驱动程序状态和属性。 ECHO 显示消息,或将命令回显打开或关上。ENDLOCAL 结束批文件中环境更改的本地化。 ERASE 删除一个或多个文件。 EXIT 退出CMD.EXE 程序(命令解释程序)。 FC 比较两个文件或两个文件集并显示它们之间的不同FIND 在一个或多个文件中搜索一个文本字符串。FINDSTR 在多个文件中搜索字符串。 FOR 为一套文件中的每个文件运行一个指定的命令。FORMAT 格式化磁盘,以便跟Windows 使用。 FSUTIL 显示或配置文件系统的属性。 FTYPE 显示或修改用在文件扩展名关联的文件类型。GOTO 将Windows 命令解释程序指向批处理程序 中某个带标签的行。 GPRESULT 显示机器或用户的组策略信息。 GRAFTABL 启用Windows 在图形模式显示扩展字符集。

red hat linux常用操作命令汇总

Red hat linux常用操作命令汇总的一些命令: 1.查看硬件信息 # uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -tv # 列出所有USB设备 # lsmod # 列出加载的内核模块 # env # 查看环境变量资源 # free -m # 查看内存使用量和交换区使用量 # df -h # 查看各分区使用情况 # du -sh # 查看指定目录的大小 # grep MemTotal /proc/meminfo # 查看内存总量 # grep MemFree /proc/meminfo # 查看空闲内存量 # uptime # 查看系统运行时间、用户数、负载# cat /proc/loadavg # 查看系统负载磁盘和分区 # mount | column -t # 查看挂接的分区状态 # fdisk -l # 查看所有分区 # swapon -s # 查看所有交换分区 # hdparm -i /dev/hda # 查看磁盘参数(仅适用于IDE设备) # dmesg | grep IDE # 查看启动时IDE设备检测状况网络# ifconfig # 查看所有网络接口的属性 # iptables -L # 查看防火墙设置 # route -n # 查看路由表 # netstat -lntp # 查看所有监听端口 # netstat -antp # 查看所有已经建立的连接 # netstat -s # 查看网络统计信息进程

常用命令

文件和目录 cd /home 进入'/ home' 目录' cd .. 返回上一级目录 cd ../.. 返回上两级目录 cd 进入个人的主目录 cd ~user1 进入个人的主目录 cd - 返回上次所在的目录 pwd 显示工作路径 ls 查看目录中的文件 ls -F 查看目录中的文件 ls -l 显示文件和目录的详细资料 ls -a 显示隐藏文件 ls *[0-9]* 显示包含数字的文件名和目录名 tree 显示文件和目录由根目录开始的树形结构(1) lstree 显示文件和目录由根目录开始的树形结构(2) mkdir dir1 创建一个叫做'dir1' 的目录' mkdir dir1 dir2 同时创建两个目录 mkdir -p /tmp/dir1/dir2 创建一个目录树 rm -f file1 删除一个叫做'file1' 的文件' rmdir dir1 删除一个叫做'dir1' 的目录' rm -rf dir1 删除一个叫做'dir1' 的目录并同时删除其内容rm -rf dir1 dir2 同时删除两个目录及它们的内容

mv dir1 new_dir 重命名/移动一个目录 cp file1 file2 复制一个文件 cp dir/* . 复制一个目录下的所有文件到当前工作目录 cp -a /tmp/dir1 . 复制一个目录到当前工作目录 cp -a dir1 dir2 复制一个目录 ln -s file1 lnk1 创建一个指向文件或目录的软链接 ln file1 lnk1 创建一个指向文件或目录的物理链接 touch -t 0712250000 file1 修改一个文件或目录的时间戳- (YYMMDDhhmm) file file1 outputs the mime type of the file as text iconv -l 列出已知的编码 iconv -f fromEncoding -t toEncoding inputFile > outputFile creates a new from the given input file by assuming it is encoded in fromEncoding and converting it to toEncoding. find . -maxdepth 1 -name *.jpg -print -exec convert "{}" -resize 80x60 "thumbs/{}" \; batch resize files in the current directory and send them to a thumbnails directory (requires convert from Imagemagick) 文件搜索

Linux必学的60个命令二(文件处理命令)

Linux必学的60个命令-文件操作 Linux 系统信息存放在文件里,文件与普通的公务文件类似。每个文件都有自己的名字、内容、存放地址及其它一些管理信息,如文件的用户、文件的大小等。文件可以是一封信、一个通讯录,或者是程序的源语句、程序的数据,甚至可以包括可执行的程序和其它非正文内容。Linux文件系统具有良好的结构,系统提供了很多文件处理程序。这里主要介绍常用的文件处理命令。 file 1.作用件内容判断文件类型,使用权限是所有用户。 2.格式 file通过探测文 file [options] 文件名 3.[options]主要参数 -v:在标准输出后显示版本信息,并且退出。 -z:探测压缩过的文件类型。 -L:允许符合连接。 -f name:从文件namefile中读取要分析的文件名列表。 4.简单说明 使用file命令可以知道某个文件究竟是二进制(ELF格式)的可执行文件, 还是Shell Script 文件,或者是其它的什么格式。file能识别的文件类型有目录、Shell脚本、英文文本、二进制可执行文件、C语言源文件、文本文件、DOS的可执行文件。 5.应用实例 如果我们看到一个没有后缀的文件grap,可以使用下面命令: $ file grap grap:English text 此时系统显示这是一个英文文本文件。需要说明的是,file命令不能探测包括图形、音频、视频等多媒体文件类型。 mkdir 1.作用 mkdir命令的作用是建立名称为dirname的子目录,与MS DOS下的md命令类似,它的使用权限是所有用户。 2.格式 mkdir [options] 目录名 3.[options]主要参数 -m, --mode=模式:设定权限<模式>,与chmod类似。 -p, --parents:需要时创建上层目录;如果目录早已存在,则不当作错误。 -v, --verbose:每次创建新目录都显示信息。 --version:显示版本信息后离开。 4.应用实例 在进行目录创建时可以设置目录的权限,此时使用的参数是“-m”。假设要创建的目录名是“tsk”,让所有用户都有rwx(即读、写、执行的权限),那么可以使用以下命令: $ mkdir -m 777 tsk

linux常用操作命令.doc

1 linux常用操作命令 linux系统中通过命令来提高自己的操作能力,下面由小编为大家整理了linux常用操作命令的相关知识,希望大家喜欢! linux常用操作命令一、常用指令 ls 显示文件或目录 -l 列出文件详细信息l(list) -a 列出当前目录下所有文件及目录,包括隐藏的a(all) mkdir 创建目录 -p 创建目录,若无父目录,则创建p(parent) cd 切换目录 touch 创建空文件 2 echo 创建带有内容的文件。

cat 查看文件内容 cp 拷贝 mv 移动或重命名 rm 删除文件 -r 递归删除,可删除子目录及文件 -f 强制删除 find 在文件系统中搜索某文件 wc 统计文本中行数、字数、字符数 grep 在文本文件中查找某个字符串rmdir 删除空目录 3 tree 树形结构显示目录,需要安装tree包

pwd 显示当前目录 ln 创建链接文件 more、less 分页显示文本文件内容head、tail 显示文件头、尾内容 ctrl+alt+F1 命令行全屏模式 linux常用操作命令二、系统管理命令 stat 显示指定文件的详细信息,比ls更详细who 显示在线登陆用户 whoami 显示当前操作用户 hostname 显示主机名 4 uname 显示系统信息

top 动态显示当前耗费资源最多进程信息 ps 显示瞬间进程状态ps -aux du 查看目录大小du -h /home带有单位显示目录信息 df 查看磁盘大小df -h 带有单位显示磁盘信息 ifconfig 查看网络情况 ping 测试网络连通 netstat 显示网络状态信息 man 命令不会用了,找男人如:man ls clear 清屏 alias 对命令重命名如:alias showmeit="ps -aux" ,另外解除使用unaliax showmeit 5 kill 杀死进程,可以先用ps 或top命令查看进程的id,然

就是把DOS命令写在一个文本文件里面

就是把DOS命令写在一个文本文件里面,然后保存的时候保存成"所有文件", 文件名是名字.bat 就可以了。 不过BAT文件有很多特殊命令... 批处理制作教程 批处理文件是无格式的文本文件,它包含一条或多条命令。它的文件扩展名为.bat 或.cmd。在命令提示下键入批处理文件的名称,或者双击该批处理文件,系统就会调用Cmd.exe按照该文件中各个命令出现的顺序来逐个运行它们。 在无盘运用及Hack入侵过程中,经常都会用到。 一.简单批处理内部命令简介 1.Echo 命令 打开回显或关闭请求回显功能,或显示消息。如果没有任何参数,echo 命令将显示当前回显设置。 语法 echo [{on off}] [message] Sample:@echo off / echo hello world 在实际应用中我们会把这条命令和重定向符号(也称为管道符号,一般用> >> )结合来实现输入一些命令到特定格式的文件中.这将在以后的例子中体现出来。 2.@ 命令 表示不显示@后面的命令,在入侵过程中(例如使用批处理来格式化敌人的硬盘)自然不能让对方看到你使用的命令啦。 Sample:@echo off @echo Now initializing the program,please wait a minite... @format X: /q/u/autoset (format 这个命令是不可以使用/y这个参数的,可喜的是微软留了个autoset这个参数给我们,效果和/y是一样的。) 3.Goto 命令 指定跳转到标签,找到标签后,程序将处理从下一行开始的命令。 语法:goto label (label是参数,指定所要转向的批处理程序中的行。) Sample: if {%1}=={} goto noparms if {%2}=={} goto noparms(如果这里的if、%1、%2你不明白的话,先跳过去,后面会有详细的解释。) @Rem check parameters if null show usage :noparms echo Usage: monitor.bat ServerIP PortNumber goto end 标签的名字可以随便起,但是最好是有意义的字母啦,字母前加个:用来表示这个字母是标签,goto命令就是根据这个:来寻找下一步跳到到那里。最好有一些说明这样你别人看起来才会理解你的意图啊。

DOS批处理命令大全

写批处理 扩展名是bat(在nt/2000/xp/2003下也可以是cmd)的文件就是批处理文件。 ==== willsort 编注======================================= .bat是dos下的批处理文件 .cmd是nt内核命令行环境的另一种批处理文件 从更广义的角度来看,unix的shell脚本以及其它操作系统甚至应用程序中由外壳进行解释执行的文本,都具有与批处理文件十分相似的作用,而且同样是由专用解释器以行为单位解释执行,这种文本形式更通用的称谓是脚本语言。所以从某个程度分析,batch, unix shell, awk, basic, perl 等脚本语言都是一样的,只不过应用的范围和解释的平台各有不同而已。甚至有些应用程序仍然沿用批处理这一称呼,而其内容和扩展名与dos的批处理却又完全不同。 =================================== 首先批处理文件是一个文本文件,这个文件的每一行都是一条DOS命令(大部分时候就好象我们在DOS 提示符下执行的命令行一样),你可以使用DOS下的Edit或者Windows的记事本(notepad)等任何文本文件编辑工具创建和修改批处理文件。 ==== willsort 题注=================== 批处理文件中完全可以使用非dos命令,甚至可以使用不具有可执行特性的普通数据性文件,这缘于wind ows系统这个新型解释平台的涉入,使得批处理的应用越来越"边缘化"。所以我们讨论的批处理应该限定在dos环境或者命令行环境中,否则很多观念和设定都需要做比较大的变动。 ======================== 其次,批处理文件是一种简单的程序,可以通过条件语句(if)和流程控制语句(goto)来控制命令运行的流程,在批处理中也可以使用循环语句(for)来循环执行一条命令。当然,批处理文件的编程能力与C语言等编程语句比起来是十分有限的,也是十分不规范的。批处理的程序语句就是一条条的DOS命令(包括内部命令和外部命令),而批处理的能力主要取决于你所使用的命令。 ==== willsort 编注================== 批处理文件(batch file)也可以称之为批处理程序(batch program),这一点与编译型语言有所不同,就c语言来说,扩展名为c或者cpp的文件可以称之为c语言文件或者c语言源代码,但只有编译连接后的exe 文件才可以称之为c语言程序。因为批处理文件本身既具有文本的可读性,又具有程序的可执行性,这些称谓的界限是比较模糊的。 =========================== 第三,每个编写好的批处理文件都相当于一个DOS的外部命令,你可以把它所在的目录放到你的DOS搜索路径(path)中来使得它可以在任意位置运行。一个良好的习惯是在硬盘上建立一个bat或者batch目录(例如C:\BATCH),然后将所有你编写的批处理文件放到该目录中,这样只要在path中设置上c:\batch,你就可以在任意位置运行所有你编写的批处理程序。 ==== willsort 编注===== 纯以dos系统而言,可执行程序大约可以细分为五类,依照执行优先级由高到低排列分别是:DOSKEY宏命令(预先驻留内存),https://www.wendangku.net/doc/b615586001.html,中的内部命令(根据内存的环境随时进驻内存),以com为扩

黑客常用CMD命令大全

黑客常用CMD命令大全 net user heibai lovechina /add 加一个heibai的用户密码为lovechina net localgroup Administrators heibai /add 把他加入Administrator组 net start telnet 开对方的TELNET服务 net use z:\127.0.0.1c$ 映射对方的C盘 net use \\ip\ipc$ " " /user:" " 建立IPC空链接 net use \\ip\ipc$ "密码" /user:"用户名" 建立IPC非空链接 net use h: \\ip\c$ "密码" /user:"用户名" 直接登陆后映射对方C:到本地为H: net use h: \\ip\c$ 登陆后映射对方C:到本地为H: net use \\ip\ipc$ /del 删除IPC链接 net use h: /del 删除映射对方到本地的为H:的映射 net user 用户名密码/add 建立用户 net user 查看有哪些用户 net user 帐户名查看帐户的属性 net user guest /active:yes 将Guest用户激活 net user guest lovechina 把guest的密码改为lovechina net user 用户名/delete 删掉用户 net user guest/time:m-f,08:00-17:00 表示guest用户登录时间为周一至周五的net user guest/time:m,4am-5pm;t,1pm-3pm;w-f,8:00-17:00 表示guest用户登录时间为周一4:00/17:00,周二13:00/15:00,周三至周五8:00/17:00. net user guest/time:all表示没有时间限制. net user guest/time 表示guest用户永远不能登录. 但是只能限制登陆时间,不是上网时间 net time \\127.0.0.1 得到对方的时间, get c:\index.htm d:\ 上传的文件是INDEX.HTM,它位于C:\下,传到对方D:\ copy index.htm \\127.0.0.1\c$\index.htm 本地C盘下的index.htm复制到 127.0.0.1的C盘 net localgroup administrators 用户名/add 把“用户”添加到管理员中使其具有管理员权限,注意:administrator后加s用复数 net start 查看开启了哪些服务 net start 服务名开启服务;(如:net start telnet,net start schedule) net stop 服务名停止某服务 net time \\目标ip 查看对方时间 net time \\目标ip /set 设置本地计算机时间与“目标IP”主机的时间同步,加参数 /yes可取消确认信息net view 查看本地局域网内开启了哪些共享 net view \\ip 查看对方局域网内开启了哪些共享 net config 显示系统网络设置

cad常用基本操作

常用基本操作 1 常用工具栏的打开和关闭:工具栏上方点击右键进行选择 2 动态坐标的打开与关闭:在左下角坐标显示栏进行点击 3 对象捕捉内容的选择:A在对象捕捉按钮上右键点击(对象捕捉开关:F3) B 在极轴选择上可以更改极轴角度和极轴模式(绝对还是相对上一段线) 4 工具栏位置的变化:A锁定:右下角小锁;工具栏右键 B 锁定情况下的移动:Ctrl +鼠标移动 5 清楚屏幕(工具栏消失):Ctrl + 0 6 隐藏命令行:Ctrl + 9 7 模型空间和布局空间的定义:模型空间:无限大三维空间 布局空间:图纸空间,尺寸可定义的二位空间 8 鼠标左键的选择操作:A 从左上向右下:窗围 B 从右下向左上:窗交 9 鼠标中键的使用:A双击,范围缩放,在绘图区域最大化显示图形 B 按住中键不放可以移动图形 10 鼠标右键的使用:A常用命令的调用 B 绘图中Ctrl + 右键调出捕捉快捷菜单和其它快速命令 11 命令的查看:A 常规查看:鼠标移于工具栏相应按钮上查看状态栏显示 B 命令别名(缩写)的查看:工具→自定义→编辑程序参数(acad.pgp) 12 绘图中确定命令的调用:A 鼠标右键 B ESC键(强制退出命令) C Enter键 D 空格键(输入名称时,空格不为确定) 13 重复调用上一个命令: A Enter键 B 空格键 C 方向键选择 14 图形输出命令:A wmfout(矢量图) B jpgout/bmpout(位图)应先选择输出范围 15 夹点的使用:A蓝色:冷夹点 B 绿色:预备编辑夹点 C红色:可编辑夹点 D 可通过右键选择夹点的编辑类型 E 选中一个夹点之后可以通过空格键依次改变夹点编辑的命令如延伸,移动或比例缩放(应注意夹点中的比例缩放是多重缩放,同一图形可在选中夹点连续进行多次不同比例缩放)

最全批处理命令学习资料【完美版】

一:批处理文件 批处理文件是扩展名为·bat或·cmd的文本文件,包含一条或多条命令,由DOS或Windows系统内嵌的命令解释器来解释运行。 批处理的本质,是一堆DOS命令按一定顺序排列而形成的集合。 二:常用命令: 1.echo 和 @: @ #关闭单行回显 echo off #从下一行开始关闭回显 @echooff #从本行开始关闭回显,一般批处理第一行都是这个echo on #从下一行开始打开回显 echo #显示当前是echo off 状态还是 echo on 状态echo. #输出一个”回车换行”,空白行 #(同echo, echo; echo+ echo[ echo]echo /echo") 2.errorlevel echo???%errorlevel% 每个命令运行结束,可以用这个命令行格式查看返回码 默认值为0,一般命令执行出错会设 errorlevel 为1 目录操作类命令: 3.dir?显示磁盘目录命令 dir #显示当前目录中的文件和子目录 dir /a #显示当前目录中的文件和子目录,包括隐藏文件和系统文件 dirc:/a:d #显示 C 盘当前目录中的目录 dir c: /a:-d #显示 C 盘根目录中的文件 dir c:" /b/p #/b只显示文件名,/p分页显示 dir c:" /b/p#/w不显示详细信息 dir *.exe /s #显示当前目录和子目录里所有的.exe文件 4.以树形显示当前路径文件夹结构 tree /f #显示每个文件夹中文件的名字。 5.md 建立子目录 md d:"a"b"c#如果 d:"a 不存在,将会自动创建中级目录 #如果命令扩展名被停用,则需要键入mkdir "a" b"c 6.cd?改变当前目录(进入) cd \#进入根目录 cd#显示当前目录 cd /d d:\sdk #可以同时更改盘符和目录 cd .. #返回上一级目录

实用批处理(bat)教程

目录 第一章批处理基础 第一节常用批处理内部命令简介 1、REM 和:: 2、ECHO 和@ 3、PAUSE 4、ERRORLEVEL 5、TITLE 6、COLOR 7、mode 配置系统设备 8、GOTO 和: 9、FIND 10、START 11、assoc 和ftype 12、pushd 和popd 13、CALL 14、shift 15、IF 16、setlocal 与变量延迟(ENABLEDELAYEDEXPANSION / DISABLEDELAYEDEXPANSION 启动或停用延缓环境变量扩展名。) 17、ATTRIB显示或更改文件属性 第二节常用特殊符号 1、@命令行回显屏蔽符 2、%批处理变量引导符 3、> 重定向符 4、>>重定向符 5、<、>、<& 重定向符 6、|命令管道符 7、^转义字符 8、组合命令 9、& 组合命令 10、||组合命令 11、\"\"字符串界定符 12、, 逗号 13、; 分号 14、() 括号 15、! 感叹号 第二章FOR命令详解 一、基本格式 二、参数/d仅为目录 三、参数/R递归(文件名) 四、参数/L迭代数值范围 五、参数/F迭代及文件解析 第三章FOR命令中的变量

一、~I- 删除任何引号(\"),扩展%I 二、%~fI- 将%I 扩展到一个完全合格的路径名 三、%~dI- 仅将%I 扩展到一个驱动器号 四、%~pI- 仅将%I 扩展到一个路径 五、%~nI- 仅将%I 扩展到一个文件名 六、%~xI- 仅将%I 扩展到一个文件扩展名 七、%~sI- 扩展的路径只含有短名 八、%~aI- 将%I 扩展到文件的文件属性 九、%~tI- 将%I 扩展到文件的日期/时间 十、%~zI- 将%I 扩展到文件的大小 十一、%~$PATH:I 第四章批处理中的变量 一、系统变量 二、自定义变量 第五章set命令详解 一、用set命令设置自定义变量 二、用set命令进行简单计算 三、用set命令进行字符串处理 1、字符串替换 2、字符串截取 第六章if命令讲解 第一种用法:IF [NOT] ERRORLEVEL number command 第二种用法:IF [NOT] string1==string2 command 第三种用法:IF [NOT] EXIST filename command 第四种用法:IF增强的用法 第七章DOS编程高级技巧 一、界面设计 二、if…else…条件语句 三、循环语句 四、子程序 五、用ftp命令实现自动下载 六、用7-ZIP实现命令行压缩和解压功能 七、调用VBScript程序 八、将批处理转化为可执行文件 九、时间延迟 1、利用ping命令延时 2、利用for命令延时 3、利用vbs延迟函数,精确度毫秒,误差1000毫秒内 4、仅用批处理命令实现任意时间延迟,精确度10毫秒,误差50毫秒内 十、模拟进度条 十一、特殊字符的输入及应用 十二、随机数(%random%)的应用技巧 十三、变量嵌套与命令嵌套 1、更正了所有的错别字,适当排版,增加条理性。

常用网络命令操作

实验一常用网络命令操作 (一)实验目的: 掌握PING/NET/NETSH路由跟踪命令等常用命令的使用方法, 从这些命令的响应来确定网络的状态和路径情况 (二)实验环境 PC机及互联网 (三)实验内容 1.ping命令的使用 ping命令的具体语法格式:ping目的地址[参数1][参数2] 主要参数有: a:解析主机地址 n:数据:发出数据包的个数,缺省为4 l:数值:所发出缓冲区大小 t:继续执行ping命令,直到用户按下CTRL+C键终止 https://www.wendangku.net/doc/b615586001.html,stat命令的使用 Netstat[-参数1][参数2] a:显示所有与该主机建立连接的端口信息 b:显示以太网的统计住处参数一般与S参数共同使用 n:以数字的格式显示地址和端口信息 s:显示每个协议的统计情况。 3.用VisualRouter跟踪路由信息,显示从源地址到目的地址 所经过的路由。

(四)实验结果分析: Ping命令: 我们使用ping命令ping百度的IP 202.108.22.5 使用-a参数来解析计算机NetBios名 使用-n 命令改变测试包的数量 使用-t 命令来一直执行ping命令直到键入CTRL+C

Netstat命令: 我们使用-a 命令来查看与我们主机机那里连接的端口信息 我们使用-e 命令显示以太网的统计住处该参数一般与S参数共同使用 我们使用-n 以数字的格式显示端口的地址信息:

我们使用-s显示每个协议的统计情况:

接下来我们使用VisualRouter来跟踪路由信息: 我们尝试着与193.168.110.52通信,并查看路由等信息 我们可以看见地区为:Luxumbourg 该IP属于德国卢森堡 网络为:Fondation RESTERA 防火墙信息:对ping命令不回应,对80端口的空请求不回应 还有一些数据包分析的信息。 从这张图中我还看到了路由的路径: 从 192.168.110.205->192.168.110.1->?->192.168.99.38->192.168.9 9.30->10.0.1.4->218.2.129.161->?->202.97.50.238->202.97.33.1 54->?->4.71.114.101->?->4.69.148.225->212.73.249.26->158.64. 16.189->193.168.110.52

计算机操作中常用的DOS命令

计算机操作中常用的DOS命令 现在用DOS的人越来越少了,但在电脑出现故障的时候,我们有时候还是需要进入DOS 中来操作,所以笔者在这里对DOS简单的作个介绍。在第四章再说一下在WINDOWS出现故障时怎样在DOS中操作。 一、DIR 命令的格式: dir [D:][PA TH][NAME][[/A][:attrib]][/o:[sorted][/s][/b][/l][/c[h] (1)dir /a:attrib 缺省包含所有文件(系统文件.隐含文件) attrib[:][h/-h]只显示隐含文件或非隐含文件. [r/-r]只显示只读文件或非只读文件 [s/-s]只显示系统文件或非系统文件 [a/-a]只显示要归档文件或非归档文件 (2)/o[:]sorted:缺省完全按字母顺序,子目录显示在文件之前 /o[n/-n]:按字母顺序或按文件名顺序/反向显示 [e/-e]:按扩展名字母顺序/反向显示 [d/-d]:按时间顺序/反向显示 [s/-s]:按大小从大到小或/反向显示 [g/-g]:按子目录先于文件或文件先于子目录 (3)/s 参数:对当前目录及其子目录中所有文件进行列表 列名:dir /s/a/o:n c:\>PRN 将c盘上的所有子目录和文件按隶属关系并根据子目录和文件字母顺序打印输出 (4)/B 参数:将只显示文件名与扩展名 (5)/L 参数:将全部用小写字母对文件或子目录进行列表 训练: dir /a 列当前目录所有文件(含隐含及系统文件) dir /ah 列隐含文件(包含子目录(隐含的) dir /a-h

dir /as 列系统文件 dir /a-s dir /ad 列子目录 dir /a-d dir /o 按字母顺序 dir /B 只显示文件名与扩展名 二、attrib [+r|-r] [+a|-a] [+s|-s] [+h|-h] [d: ] [name] [/s] 缺省 attrib name 显示文件的(文件)属性 attrib io.sys (或子目录) shr c:\ io.sys 指定为系统(s) 隐含(h) 只读(r)文件 也可以attrib *.sys 显示扩展名为sys的文件属性 参数 [+r|-r] 将文件属性设置或解除只读属性 [+a|-a] 将文件属性设置或解除归档属性 [+h|-h] 将文件属性设置或解除隐含属性 (尤其对子目录也起作用) /s 参数将当前及当前子目录下的所有文件均起作用 可以用来查找文件 例子: attrib news86 列news86的文档属性 attrib +r report.txt 设置为只读 attrib -s -h record.txt attrib +a a:*.* attrib -a a:*.bak xcopy a: b: /a 将A盘上的所有标志为"归档"属性的文件拷到B盘xcopy a: b: /m 将A盘上的所有文件拷到B盘后并移去归档属性三、cd 介绍: cd...返回上二级目录 "."代表当前目录 "."代表父目录cd ..\..返回到上级目录的父目录(祖目录) cd A:\ 将A盘的当前目录改为根目录 cd A:\xx 将A盘的当前目录改为子目录xx下

实验三 文本处理

实验三文本处理实验报告 一、实验内容 1.新建c源程序文件feb.c,编译执行,显示费波纳奇数列: 1 1 2 3 5 8 13 21 ... 输入命令vi feb.c进入vi编辑器,再按i,编写程序如下: #include #include Int main() { int i; int fb[20]; fb[0] = 1; fb[1] = 1; for(i = 2;i<20;i++) { fb[i] = fb[i-1] + fb[i-2]; } for(i = 0;i < 20;i++) { printf(“%d “,fb[i]); } Return 0; } 程序输入完,按Esc,再按:wq退出vi编辑器并且保存feb.c文件。 输入命令gcc feb.c -o feb编译feb.c程序。 最后输入 ./feb 命令执行feb.c程序,显示斐波数列:1,1,2,3,5,8,13,21,34...... 2.新建文件test2.php,内容如下:

'; echo '班级、姓名'.'
'; echo '答卷>>'; }else if ($_POST['stech']){ echo 'techer:'.$_POST['tpw'].$_POST['sno'].'
'; echo '导入学生名单'.'
'; echo '导入试卷'.'
'; echo '发试卷'.'
'; echo '客观题评卷'.'
'; echo '主观题评卷'.'
'; }else{ echo '祝你好运!'; } ?>

学生登录

输入学号

教师登录

输入密码

最全批处理命令学习资料【完美版】

一:批处理文件 批处理文件是扩展名为·bat或·cmd的文本文件,包含一条或多条命令,由DOS或Windows系统内嵌的命令解释器来解释运行。 批处理的本质,是一堆DOS命令按一定顺序排列而形成的集合。 二:常用命令: 1.echo 和@: @ #关闭单行回显 echo off #从下一行开始关闭回显 @echo off #从本行开始关闭回显,一般批处理第一行都是这个 echo on #从下一行开始打开回显 echo #显示当前是echo off 状态还是echo on 状态 echo. #输出一个”回车换行”,空白行 #(同echo, echo; echo+ echo[ echo] echo/ echo") 2.errorlevel echo %errorlevel% 每个命令运行结束,可以用这个命令行格式查看返回码 默认值为0,一般命令执行出错会设errorlevel 为1 目录操作类命令: 3.dir 显示磁盘目录命令 dir #显示当前目录中的文件和子目录 dir /a #显示当前目录中的文件和子目录,包括隐藏文件和系统文件

dir c: /a:d #显示C 盘当前目录中的目录 dir c: /a:-d #显示C 盘根目录中的文件 dir c:" /b/p #/b只显示文件名,/p分页显示 dir c:" /b/p #/w不显示详细信息 dir *.exe /s #显示当前目录和子目录里所有的.exe文件 4.以树形显示当前路径文件夹结构 tree /f #显示每个文件夹中文件的名字。 5.md 建立子目录 md d:"a"b"c #如果d:"a 不存在,将会自动创建中级目录 #如果命令扩展名被停用,则需要键入mkdir "a"b"c 6.cd 改变当前目录(进入) cd \ #进入根目录 cd #显示当前目录 cd /d d:\sdk #可以同时更改盘符和目录 cd .. #返回上一级目录 7.rd 删除子目录命令 rd abc #删除当前目录里的abc 子目录,要求为空目录rd /s/q d:\temp #删除d:"temp 文件夹及其子文件夹和文件/q安静模式 磁盘操作类命令: 8.format 磁盘格式化命令 9.chkdsk 检查磁盘当前状态命令

爱立信常用指令操作汇总

常用指令操作汇总 1.常用指令 ?RLSBP/C (cro、pt、TO、T3212、ATT、TX、MAXRET、ACC、cb、cbq) / \ |cell...| RLSBP:CELL=+ +; |ALL | \ / / / \ | / / \\ |cell| | | |acc...|| RLSBC:CELL=+ + +[,CB=cb]|,ACC=+ +| |ALL | | | |CLEAR || \ / | \ \ // \ [,MAXRET=maxret][,TX=tx] [,ATT=att][,T3212=t3212] [,CBQ=cbq][,CRO=cro] [,TO=to][,PT=pt] \ | | [,ECSC=ecsc]+[,SLOW]; | | / ?RLSSP/C (nccperm、CHR、accmin、CCHPWR、rlinkt、DTXU、RLINKT、NECI、MBCR) / \ |cell...| RLSSP:CELL=+ +; |ALL | \ / / RLSSC:CELL=cell+[,ACCMIN=accmin][,CCHPWR=cchpwr][,CRH=crh] \ [,DTXU=dtxu][,NCCPERM=nccperm...] \ [,RLINKT=rlinkt][,NECI=neci][,MBCR=mbcr]+; / ?RLNRP/C (khyst、koffsetp/n、awoffset、bqoffset、CS、CAND) / \ | / \| | |cellr...|| |CELL=cell,CELLR=+ +| RLNRP:+ |ALL |+[,NODATA]; |CELL=ALL \ /| | | \ / / | RLNRC:CELL=cell,CELLR=cellr +[,CS=cs][,CAND=cand] | \ / / \\ | |KOFFSETP=koffsetp|| [,KHYST=khyst]|,+ +| | |KOFFSETN=koffsetn|| \ \ // / / \\ | |LOFFSETP=loffsetp|| [,LHYST=lhyst]|,+ +| | |LOFFSETN=loffsetn|| \ \ //

word文字处理_模板

word文字处理_模板 第四章Word97文字处理系统 第一节Word97基本操作 一、Word功能简介: 1、图文混排。 2、强劲的制表功能。 3、强大的打印功能。 4、超强的辅助功能: 1)拚写语法检查。 2)自动模板。 3)处理邮件。 4)Web工具。 二、Word的启动及窗囗组成: 1、启动:三种方式。 2、窗口组成: 1)Win98传统模块:标题栏、菜单栏、“常用”工具栏、滚动条、状态栏。2)标尺栏。 3)文本区。 三、文本的输入: 1、汉字输入。 2、字母输入:按ctrl+空格。 3、数学公式输入。 4、特殊符号输入。 四、文件的保存和关闭: 1、文件的存盘。 2、自动存盘:三种方式。 3、关闭文档。 第二节编辑文档 一、打开已有的文档。 二、选定文本:鼠标方式、键盘方式。 三、插入文件。 四、复制和移动文本: 1、复制文本: 1)鼠标拖动:按住shift键。 2)菜单、快捷按钮。 2、移动文本: 1)鼠标拖动。 2)菜单和快捷按钮。 五、查找、替换和定位: 1、查找一定内容。 2、替换文本内容。 3、定位。

六、撤消、恢复和重复: 1、撤消和恢复操作。 2、重复上次操作。 第三节文档排版 一、页面设置: 1、页边距。 2、纸张大小。 3、版面。 二、字符格式: 1、字体。 2、字号。 3、字型。 4、字符修饰:边框和底纹。 5、文字排列位置:居左、居中、两端对齐。 三、段落排版: 1、行间距。 2、段间距。 四、设置制表位: 1、设置三种对齐方式制表位。 2、设置小数点对齐制表位。 五、页眉和页脚。 六、艺术字体: 1、启动“艺术字”工具栏。 2、创建艺术字。 3、编辑艺术字。 第四节图文混排 一、插入图片: 1、插入剪贴画。 2、使用剪切板插入图片。 3、使用图片命令插入图片文件。 二、编辑图片。 三、绘制图形; 1、启动“绘图”工具栏 [1] [2] 下一页 第三部分QBASIC程序设计基础第一章软件设计基础知识【教学目的】【教学重点、难点】【教学过程】第一节计算机语言语言是人类进行思想交流的工具,人与计算机之间进行交流同样也需要“语言”——一种能被计算机识别的专用语言称为计算机语言。能被计算机直接接受的并立即执行的语言称为计算机语言。只能被计算机间接接受的经翻译后形成目标代码再执行的语言,通常称为程序设计语言,包括汇编语言和高级语言。一.汇编语言由于机器语言不利于计算机的推广应用,人们利用一些简短的英文单词或缩写来表示指令,以便于理解和记忆。这种用数字、符号来代替二进制代码的计算机语言称为汇编语言。例如,要把一个数装入CPU的寄存器里,就用MOV表示,要做加法就用ADD表示,指令顺序跳转用JMP表示等。二.高级语言高级语句接近自然语句,一般是用一些简单的英语单

相关文档
相关文档 最新文档