Skip navigation
armandix
Currently Being Moderated

Question?

Feb 27, 2012 1:46 PM

Can I execute  .vbs file on flash projector with fscommand("exec", "file.vbs"); ?

 
Replies
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 2:01 PM   in reply to armandix

    yes, if file.vbs is in the fscommand subdirectory.

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 3:01 PM   in reply to armandix

    is your fscommand folder a subfolder of your root folder?

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 5:20 PM   in reply to armandix

    that's a no, it's not in a subfolder of your root folder but it's in a subfolder of a subfolder of the root folder?

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 27, 2012 6:20 PM   in reply to armandix

    we aren't making progress.

     

    attach a screenshot showing the folder with your .vbs file and showing the folder with your projector file.

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 28, 2012 6:43 AM   in reply to armandix

    now

     

    1.  show a screenshot of the contents of fscommand.

    2.  what happens when you click on file.vbs?

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 28, 2012 7:51 AM   in reply to armandix

    there is no "file.vbs" in that folder.  if you want to execute one of those 4 files, you must use its file name.extension as the 2nd parameter in fscommand().  eg,

     

    fscommand("exec","runScript.vbs");

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 28, 2012 10:55 AM   in reply to armandix

    when you click on runScript.vbs directly from your os, what do you see?

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 28, 2012 3:18 PM   in reply to armandix

    so, when you click runScript.vbs you see something?  you don't need to right click and click run as administrator?

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 29, 2012 7:00 AM   in reply to armandix

    i can't see any problem from what you've posted.

     

    someone will need to download your files to check and correct them.

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Feb 29, 2012 1:09 PM   in reply to armandix

    try executing some other executable file (like a projector file).

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Mar 1, 2012 11:54 AM   in reply to armandix

    check microsoft's knowledge base to see if there's something about executing vbs files that requires an intermediate os step.

     
    |
    Mark as:
  • kglad
    72,360 posts
    Jul 21, 2002
    Currently Being Moderated
    Mar 2, 2012 9:04 AM   in reply to armandix

    you're welcome.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points