J
Jack-2
Hi!
Three days ago I wrote in this group for ask help in the use of
"GetDetailsOf".
I want show the name of a file without the extension, and for this, a member
of this group suggestion me that
I will use this code:
name = fldr.GetDetailsOf(items, 0);
name = name.substring(0, name.lastIndexOf('.'));
This code work fine!
But now, I think that this can be a problem of security because hidden all
extension, include .vbs or other possible dangerous type of file.
Somebody can help me and write an example of code for hidden only certain
extension.
I´m not writen a program in JavaScript, but I need used a fragment of code
in this language. The problem is that I don´t know never this language...
Thanks for your help!!
PD: Excuse me for my bad english...
Three days ago I wrote in this group for ask help in the use of
"GetDetailsOf".
I want show the name of a file without the extension, and for this, a member
of this group suggestion me that
I will use this code:
name = fldr.GetDetailsOf(items, 0);
name = name.substring(0, name.lastIndexOf('.'));
This code work fine!
But now, I think that this can be a problem of security because hidden all
extension, include .vbs or other possible dangerous type of file.
Somebody can help me and write an example of code for hidden only certain
extension.
I´m not writen a program in JavaScript, but I need used a fragment of code
in this language. The problem is that I don´t know never this language...
Thanks for your help!!
PD: Excuse me for my bad english...