Reputation: 79
I have a script which I can run from windows console writing "php backup.php". How to create a link to run it directly from desctop?
Upvotes: 1
Views: 71
Reputation: 24182
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.
Upvotes: 6
Reputation: 351
Use the windows context menu to select New->Shortcut and proceed accordingly from there on.
Upvotes: 1