-
I am just getting started with VB and have decided to make a program that kills all my cookies.
The problem that I am having is the kill command.
Does the kill command recognize wildcards? i.e. :
kill "C:\Windows\Cookies\*.txt"
thanks for any help you can give me.
-
Well, if you tested it, you should have gotten an error, thus meaning no, it doesn't support wildcards :)
You need to find the specific file name of a file and then use the command.
-
kill command
does anyone know if there is a way to delete all the files in a directory with a like extension at the same time without knowing the full file names?
As in something like a wildcard :) ?
I want to delete all the cookies in my cookies directory when i hit a command button inside my project.
-
yeah you can do it...
Loop trough all files in that dir, check the last 4 lCase(charachters) and when it says
.txt then Kill it...
-
I think you have to use dir function to return your files and then remove each of them