Kill Syntax and path

J

Joe User

what is the default path that Kill looks for when deleting
a file where a path is not specified?
 
D

Don Guillett

Kill Statement


Deletes files from a disk.

Syntax

Kill pathname

The required pathname argument is a string expression that specifies one or
more file names to be deleted. The pathname may include the directory or
folder, and the drive.
 
T

Tom Ogilvy

It looks at the default drive, default directory on that drive.

? curdir

should tell you what this is.
 
C

Chip Pearson

If a directory path is not specified, Kill looks in the current
directory, the directory returned by CurDir.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Top