Feedback |  Site Map |  About |  Privacy |  Legal
Editor Home  |  Features  |  Videos  |  Download  |  Support  
 

Check out the ASE Script Library! It now features full color highlighting and collapsible regions (just like in ASE!). Browse, rate, comment and submit your own scripts now!

KiXtart Language Reference (Del)

[ PowerShell  VBScript  HTA  AutoIt  KiXtart  Batch  Windows Command Lines  Other Command Line Utilities  ]


Del  (Command)

Available from version 3.63 through the latest release.

Syntax
Del "<filename>" [/h] [/s][/c][/f]

Parameters
filename = the filename (may include path if not current directory).

/h = Delete hidden files

/s = Delete system files

/c = Continue on error

/f = delete read only files

Description
Deletes one or more files

Example
Del "c:\data\backups"
Del "c:\data\backups\"
Del "c:\data\backups\*.*"

In the above example, the first statement will attempt to delete a file named "backups" in the "data" directory. The second and third statements will both delete the contents of a directory named "c:\data\backups". The directory itself will not be deleted by the DEL command.

Remarks
Del does not delete directories. Del is for deleting files only; use RD to remove directories.

/c and /f arguments were added with the release of v4.22.

Also see:
RD  MD  Copy  Move  @RESULT  


 
Portions taken from, The Start to Finish Guide to Scripting with KiXtart. Used by permission.
 
Have a correction, addition or suggestion on this? Please let us know!
Last Edited: 3/3/2004. This page has been viewed 5306 times. Unless otherwise specified, all information is (C) 2004-2007 iTripoli, Inc. All Rights Reserved.

Note: you can view this information right within ASE by right clicking any keyword and selecting "Help..."


Now In Print! 496 Pages of detail covering each and every command. Includes common problems, command alternatives and real-world examples throughout.
 
Click here for special 35% discount!