Re: Checking if a file exist
- From: "Cr1spy" <crispinparker@xxxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 14:06:18 GMT
You could use the ActiveX scripting object, but I don't recomend it!
do a search on:
ActiveXObject("Scripting.FileSystemObject")
IE only though...
"Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> wrote in message
news:Xns96FAA30E6E851eejj99@xxxxxxxxxxxxxxxxxx
> wrote on 25 okt 2005 in comp.lang.javascript:
>> Hey All,
>
> Not my name,
>
>> I'm a bit new at this,and i tryed seraching google about it but i
>> didn't quite got a solution.
>> I'm writing an HTML page that needs to check if another html file exist
>> (in the same folder) and if not,to call to a C file and create that
>> html file.
>> I tryed to do that with JavaScript but i understood there is no such
>> option.
>
>> Can u advice?
>
> This is not sms, please use only usenet abbreviations.
>
>> and once i know that file doesn't exist,can i call to a C file from a
>> simple html page?
>
>> Thanks a lot!
>
> [We didn't do anything yet, so why the thanks.]
>
> If you are talking javascript in a browser on a page from a server on
> internet, the js has no security clearance for files on the client.
>
> Javascript on a local .hta file or in wscript is a different matter.
>
> The same goes for serverside javascrpt [on an ASP platform]
>
> Which of the 4 is your Q about?
>
> --
> Evertjan.
> The Netherlands.
> (Replace all crosses with dots in my emailaddress)
>
.
- References:
- Checking if a file exist
- From: batels
- Re: Checking if a file exist
- From: Evertjan.
- Checking if a file exist
- Prev by Date: Re: selecting an index
- Next by Date: Re: Checking if a file exist
- Previous by thread: Re: Checking if a file exist
- Next by thread: Re: Checking if a file exist
- Index(es):
Relevant Pages
|