' ; echo dirname($tempdir); echo '<">
我做一个图片管理的页面,要在双击图片标题的时候打开本地图片所在的文件夹
Double click here:
echo '
echo '
echo dirname($tempdir);
echo '
at Open the passed path in the openimgdir function
var obj=event.srcElement;
var direname=obj.innerHTML
// var filename="E:"
try{
var obj = new ActiveXObject("wscript.shell")
if(obj){
obj.Run(direname,1,false )
obj = null
}
}catch(e){
alert("Please confirm whether the file or drive letter exists")
}
After writing this, it still cannot be opened
Is this folder for linux or windows? Check to see if there is no permission.