Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    82

    Grin Could not merge a .reg file using file.run??

    Hi Friends,

    The following didnot merge the abc.reg:
    apFolder=SessionVar.Expand("%AppFolder%");
    File.Run("_WindowsFolder\\regedit.exe ", "/s "..apFolder.."\\reg\\abc.reg", "", SW_SHOWNORMAL, true);
    Please let me know where I could be wrong... I cannot use the alternative method of importing the .reg files in the SF7 actions as they contain 100s of lines for each of my .reg file. So pelase suggest how I can merge a .reg file using the File.Run method...
    I saw few threads on the discussion, but they did not help me much. So Please help.

    Thanks,
    Kk250040.

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    because you're misusing a variable
    _WindowsFolder.."\\......"

    You dont' put variables w/in quotes.

    Try:
    _SystemFolder.."\\RegEdit32.exe"


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Feb 2008
    Posts
    82

    Thumbs up Thanks Jassing

    Yes I messed it up wrong...
    The suggestion to go for... _SystemFolder.."\\RegEdit32.exe" did not work for me somehow, the _WindowsFolder.."\\RegEdit.exe" works correctly. The system could not identify the RegEdit32.exe itself.

    Thank You!

Posting Permissions

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