我是WinExplorer上下文菜单的新手,我正在尝试为“.png”扩展创建一个简单的应用程序。
所以我打开了注册表的路径:
$query = "SELECT sum(points) AS points FROM transactions WHERE username = '".mysqli_real_escape_string($conn,$_SESSION['userid'])."'";
$result = mysqli_query($conn, $query);
$row = mysqli_fetch_assoc($result);
if ($_GET["credits"] > $row["points"]) {
echo("You don't have enough credits for that bet!");
} else {
echo("Nice you've got enough credits!")
}
并输入默认值:
HKEY_CURRENT_USER\Software\pngfile\shell\test\command
它显示在PNG文件的右键单击上下文菜单中,但是当我单击它时,它会出错:
my_applications_exe_path %1
我的应用程序非常简单。它写了发送的文件名:
Windows cannot access the specified device, path, or file. You may not have the appropriate permission to access the item
我无法理解为什么会这样。那么我该如何解决呢?
答案 0 :(得分:0)
尝试使用完整路径。