Kill Syntax and path

  • Thread starter Thread starter Joe User
  • Start date Start date
J

Joe User

what is the default path that Kill looks for when deleting
a file where a path is not specified?
 
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.
 
It looks at the default drive, default directory on that drive.

? curdir

should tell you what this is.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top