MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2006-12-01, 12:23   #11 (permalink)
Portal Member
 
ErikLarsson's Avatar
 
Join Date: May 2006
Posts: 51
Thanks: 5
Thanked 0 Times in 0 Posts


Default

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?
ErikLarsson is offline   Reply With Quote
Old 2006-12-01, 12:38   #12 (permalink)
Portal Developer
 
igalan's Avatar
 
Join Date: Jun 2005
Location: Barcelona
Age: 36
Posts: 334
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

oShell.Run("""c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe """)

Or use short names instead:

oShell.Run("c:\Progra~1\TeamMe~1\\MediaPortal\Medi aPortal.exe ")
igalan is offline   Reply With Quote
Old 2006-12-01, 14:07   #13 (permalink)
Portal Member
 
ErikLarsson's Avatar
 
Join Date: May 2006
Posts: 51
Thanks: 5
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by igalan View Post
oShell.Run("""c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe """)
I tried that, started a small empty ms-dos window

I'll try the second example, thanks!
ErikLarsson is offline   Reply With Quote
Old 2008-01-01, 14:22   #14 (permalink)
Portal Member
 
ErikLarsson's Avatar
 
Join Date: May 2006
Posts: 51
Thanks: 5
Thanked 0 Times in 0 Posts


Default

I got the same message now when i updated from 7.x to 7.12 ati drivers.

I tried to disable MP from starting at boot, but i still get the error.
ErikLarsson is offline   Reply With Quote
Old 2008-01-01, 14:38   #15 (permalink)
Super Moderator
 
Paranoid Delusion's Avatar
 
Join Date: Jun 2005
Location: Cheshire UK
Posts: 6,637
Thanks: 129
Thanked 235 Times in 209 Posts

Country:

My System

Default

Quote:
I got the same message now when i updated from 7.x to 7.12 ati drivers
Did you remove the old drivers correctly with the ATI uninstaller tool.

reboot and then install the new driver, i may be teaching my granny to suck eggs here.
Paranoid Delusion is offline   Reply With Quote
Old 2008-06-05, 03:33   #16 (permalink)
Portal Member
 
Join Date: Jun 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default

I had the same message...guess what.. it come from the Thumbernail setting.... set it to default or lower
ericko777 is offline   Reply With Quote
Reply

Bookmarks

Tags
boot, starts, strange, time, windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A perfect HTPC with MP & PVR Scheduler & faster XP STSC Tips and Tricks 16 2007-01-30 23:40
(MPEG2) Codec guide Anonymous Tips and Tricks 36 2006-09-20 12:40
MediaPortal not reappearing after using windows screensaver spytek_98 General Support 0 2006-01-20 10:17
strange option about mediaportal in Progdvb Molokoids MediaPortal 1 Talk 0 2005-12-01 04:04
Compile problems Anonymous General Development (no feature request here!) 1 2004-04-28 22:49


All times are GMT +1. The time now is 17:08.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden