50Views4Replies
At BAT file programming i wanted to find a file and delete it then goto a page..?
at BAT file programming i wanted to find a file and delete it then goto a preffered page..
i've found:
if example.file exists goto a
if example.file does not exist goto b
but it's only for a single file, doesn't search the whole drive or pc.
i've found:
dir C:\example.file \s
this thing searches whole C drive,
but how to make it to go to a preferred page??
any way??
very very thanks in ADVANCE.. :D
Discussions
5 years ago
Do you want it go to a webpage ? If that's the case then simply use this script:
start www.google.com
Answer 5 years ago
i'm sayin' to search whole pc for a single file, and then ridirect to a page of bat script, not webpage...
5 years ago
i'm thinking about creating a bat file finder and deleter, so i'm sayin' it... @Downunder35m
5 years ago
It is easier to know the file location.
If you have to search the file first you need an algorithm to compare the search results to your needs.
It is quite unusual to do file operations the way you intent to.