Results 1 to 4 of 4

Thread: How do you embed an application which needs a file as a parameter?

  1. #1
    Constant Bitrate
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    167

    How do you embed an application which needs a file as a parameter?

    How do you embed an application which needs a file as a parameter?
    I'm looking to add items from the Control Panel into my skin. To do this I need to be able to run, for example, "c:\windows\system32\control.exe sysdn.cpl" . I need control.exe to open sysdn.cpl . There needs to be a SPACE or a forward slash ( / ) before the.cpl file. I've tried putting this directly in as the command e.g:

    "LOAD;SYSTEM.skin;System Properties;c:\windows\system32\control.exe sysdn.cpl;!32770!System Properties"

    or

    "LOAD;SYSTEM.skin;System Properties;c:\windows\system32\control.exe /sysdn.cpl;!32770!System Properties"

    but it doesn't work. The only work around I can see that works at the moment is using batch files to open the windows but its messy as a cmd prompt windows opens aswell.

    Any help is appreciated.

    LLOYDY

  2. #2
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    try

    Code:
    LOAD;SYSTEM.skin;System Properties;c:\windows\system32\control.exe" "/sysdn.cpl;!32770!System Properties
    OR

    Code:
    LOAD;SYSTEM.skin;System Properties;c:\windows\system32\control.exe|/sysdn.cpl;!32770!System Properties

  3. #3
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    not sure how you would run a control panel item, but to run a file as a parameter it would look like this

    "RUN;DIR\DIR\program.exe|file.doc;windowtitle"
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/rr-faq/
    mp3car live search

    i have joost invites, just hit me up for one.

  4. #4
    Constant Bitrate
    Join Date
    Jul 2005
    Location
    Wales, UK
    Posts
    167
    Excellent! THANK YOU THANK YOU THANK YOU!
    Been racking my brain all morning! Knew I seen it somewhere before. The ol' pole ( | ) does the job.

    Thank you for the VERY fast responses! Perfect!

    LLOYDY

Similar Threads

  1. HOWTO - application side 'Enter'-key
    By Bokky in forum Centrafuse
    Replies: 2
    Last Post: 08-03-2005, 02:28 PM
  2. Trying to Embed GPS...
    By AustinSC400 in forum Centrafuse
    Replies: 2
    Last Post: 07-25-2005, 04:00 AM
  3. batch file programming LCD's
    By mosh in forum LCD/Display
    Replies: 6
    Last Post: 05-19-2002, 12:55 AM
  4. MPX Play best way to use file that have long file names ?
    By Vampyre in forum Software & Software Development
    Replies: 7
    Last Post: 09-16-2001, 02:39 PM
  5. Windows ME logo.sys file
    By Bj in forum Software & Software Development
    Replies: 2
    Last Post: 05-07-2001, 09:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •