Click here to Skip to main content
15,886,873 members
Home / Discussions / Web Development
   

Web Development

 
QuestionError in PHP application Pin
Member 1025130111-Dec-13 0:40
Member 1025130111-Dec-13 0:40 
AnswerRe: Error in PHP application Pin
Richard MacCutchan11-Dec-13 1:55
mveRichard MacCutchan11-Dec-13 1:55 
AnswerRe: Error in PHP application Pin
jkirkerx13-Dec-13 12:39
professionaljkirkerx13-Dec-13 12:39 
AnswerRe: Error in PHP application Pin
AndreRony30-Jan-14 18:25
AndreRony30-Jan-14 18:25 
GeneralRe: Error in PHP application Pin
W Balboos, GHB18-Feb-14 5:22
W Balboos, GHB18-Feb-14 5:22 
Questionsuggestions! Pin
Member 104508336-Dec-13 22:30
Member 104508336-Dec-13 22:30 
SuggestionRe: suggestions! Pin
Richard MacCutchan6-Dec-13 23:17
mveRichard MacCutchan6-Dec-13 23:17 
Question.cmd file execution in html Pin
Vishalsb4-Dec-13 20:29
Vishalsb4-Dec-13 20:29 
Hi All,

I am executing the .cmd in a html page with the below code.

XML
<script language="JavaScript" type="text/javascript">
            MyObject = new ActiveXObject("WScript.Shell")
            function Runbat()
            {
                MyObject.Run("\"C:\\Users\\XXX\\Desktop\\XXX\\Scripts\\XX XX Groups\\X.cmd\"");
            }
        
I have hosted this code in iis 7 for intranet. It works fine if i browse it on the same system.

But when i open the url in another system and click the button which runs the cmd file, it give error

"Message: The system cannot find the file specified."

Any suggestion will be appreciated.

Thanks.

AnswerRe: .cmd file execution in html Pin
Mycroft Holmes4-Dec-13 20:58
professionalMycroft Holmes4-Dec-13 20:58 
GeneralRe: .cmd file execution in html Pin
Vishalsb5-Dec-13 2:24
Vishalsb5-Dec-13 2:24 
GeneralRe: .cmd file execution in html Pin
Mycroft Holmes5-Dec-13 10:43
professionalMycroft Holmes5-Dec-13 10:43 
QuestionInvalidOperationExpression was unhandled by user code(Enterprise Library) Pin
EliteBrain2-Dec-13 0:12
professionalEliteBrain2-Dec-13 0:12 
AnswerRe: InvalidOperationExpression was unhandled by user code(Enterprise Library) Pin
JV99992-Dec-13 1:41
professionalJV99992-Dec-13 1:41 
QuestionHelp with blocked sites! Pin
ninasalimi22-Nov-13 7:59
ninasalimi22-Nov-13 7:59 
AnswerRe: Help with blocked sites! Pin
thatraja2-Dec-13 0:25
professionalthatraja2-Dec-13 0:25 
AnswerRe: Help with blocked sites! Pin
W Balboos, GHB18-Feb-14 5:25
W Balboos, GHB18-Feb-14 5:25 
Questionusing session variable with window.location Pin
Jassim Rahma20-Nov-13 1:48
Jassim Rahma20-Nov-13 1:48 
SuggestionSuggestion Pin
thatraja20-Nov-13 2:25
professionalthatraja20-Nov-13 2:25 
QuestionRe: using session variable with window.location Pin
Richard MacCutchan20-Nov-13 2:38
mveRichard MacCutchan20-Nov-13 2:38 
AnswerRe: using session variable with window.location Pin
Jenno Richi26-Nov-13 20:31
Jenno Richi26-Nov-13 20:31 
Question(An error occurred) with facebook share Pin
Jassim Rahma20-Nov-13 1:26
Jassim Rahma20-Nov-13 1:26 
AnswerRe: (An error occurred) with facebook share Pin
Jenno Richi26-Nov-13 20:22
Jenno Richi26-Nov-13 20:22 
AnswerRe: (An error occurred) with facebook share Pin
Blikkies26-Nov-13 20:40
professionalBlikkies26-Nov-13 20:40 
Questionhelp with dropdown button Pin
Jassim Rahma19-Nov-13 22:34
Jassim Rahma19-Nov-13 22:34 
QuestionPROBLEM WITH CHECKBOX Pin
faizalizy19-Nov-13 16:53
faizalizy19-Nov-13 16:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.