home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Strange error the first time MediaPortal starts after a Windows boot
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ErikLarsson" data-source="post: 94698" data-attributes="member: 20429"><p>I'd like some more help on the vbscript:</p><p></p><p>Dim oShell</p><p>Set oShell=CreateObject("WScript.Shell")</p><p>WScript.Sleep 2000</p><p>oShell.Run("c:\Path\To\MediaPortal\MediaPortal.exe ")</p><p>Set oShell=Nothing</p><p></p><p>Since my Mediaportal install in located in "Program Files", i cannot run the script.</p><p></p><p>If i point to any path without spaces in it, it works. I cannot point to a shortcut. If i escape the " by doing """, i get a small commmand promt that is empty.</p><p></p><p>Can someone rewrite this so it works with spaces in the path?</p></blockquote><p></p>
[QUOTE="ErikLarsson, post: 94698, member: 20429"] I'd like some more help on the vbscript: Dim oShell Set oShell=CreateObject("WScript.Shell") WScript.Sleep 2000 oShell.Run("c:\Path\To\MediaPortal\MediaPortal.exe ") Set oShell=Nothing Since my Mediaportal install in located in "Program Files", i cannot run the script. If i point to any path without spaces in it, it works. I cannot point to a shortcut. If i escape the " by doing """, i get a small commmand promt that is empty. Can someone rewrite this so it works with spaces in the path? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Strange error the first time MediaPortal starts after a Windows boot
Contact us
RSS
Top
Bottom