开发者

Link to php script

I have a script which I can ru开发者_开发问答n from windows console writing "php backup.php". How to create a link to run it directly from desctop?


Windows? You create a batch file ("name.bat") with notepad, and you put the php command there. You will be able to double click it. Add the "pause" command at the end of your script, if you want to prevent the window from closing after the script completes.


Use the windows context menu to select New->Shortcut and proceed accordingly from there on.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜