ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Kill Syntax and path (https://www.excelbanter.com/excel-programming/305557-kill-syntax-path.html)

Joe User[_3_]

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

Don Guillett[_4_]

Kill Syntax and path
 
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.


--
Don Guillett
SalesAid Software

"Joe User" wrote in message
...
what is the default path that Kill looks for when deleting
a file where a path is not specified?




Tom Ogilvy

Kill Syntax and path
 
It looks at the default drive, default directory on that drive.

? curdir

should tell you what this is.

--
Regards,
Tom Ogilvy

"Joe User" wrote in message
...
what is the default path that Kill looks for when deleting
a file where a path is not specified?




Chip Pearson

Kill Syntax and path
 
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


"Joe User" wrote in message
...
what is the default path that Kill looks for when deleting
a file where a path is not specified?





All times are GMT +1. The time now is 10:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com