Here's a send event example that I pulled up out of my known bugs list database:
Set Variable [ $dirName; Value:"EVO PlaceHolders" ]
Set Variable [ $desktopUse; Value:Substitute ( "/" & Get ( DesktopPath ); [ "//" ; "" ]; [ "/" ; "\\" ]) ]
Send Event [ open document/application; "cmd.exe /C MKDIR " & Quote ( $desktopUse & $dirName & "\\" ) ]
Thanks for reply.But I cant find Send Event example in your database.
Since I posted the information in my last post, there's no need to find it in the database. What I posted is exactly what I have. It's one of the entries found in Tutorials--a reference section of the database from which I paste info to help out others here in the forum.
The last line should be of interest to you as it shows how to pass a parameter to the MKDIR command.
Hey Its really helpfull but Send Event [ open document/application; "cmd.exe /C MKDIR " & Quote ( $desktopUse & $dirName & "\\" ) ]
I mnot getting this line
"cmd.exe /C MKDIR " is the specific command as you might enter it at the command line prompt.
Quote ( $desktopUse & $dirName & "\\" ) is a calculation that produces the text needed as the parameter passed to the command line prompt. This expression is something that you would modify to suit your particular command and the data stored in your database that you would use to pass as a parameter to it.
I want to run script hello.php which is in "C:\xampp\htdocs" this folder .
Now how to write script for this?I wan to execute this file
Exactly how would that look if you typed it directly into the command prompt?
What part of this text, if any, is data stored in your database that will be different each time that you need to do this?
How can I write/show "C:\xampp\htdocs" path in cmd..?Each time same file will be executed .
Send Event [ open document/application; "cmd.exe /C:\\xampp\\htdocs" ]
I'm not sure, however, about that / so it may need to be:
Send Event [ open document/application; "cmd.exe \\C:\\xampp\\htdocs" ]
In quoted text, a \ character has to be doubled in order for it to evaluate as a single \.
Thanks for reply.But its not working
Is there any way ?
Finally I got the solution we just need add only one "\" e.g
Send Event [ open document/application; "cmd /c C ]