Jump to content

Recommended Posts

Posted

I want to copy from "C:\Documents and Settings\Robin.USER1\Application Data\SUPERAntiSpyware.com\SUPERAntiSpyware" to

"C:\Program Files\SUPERAntiSpyware" including ALL the files...nothing fancy.

In my script it looks like this, but doesn't seem to work

Script

-------

#include <File.au3>

DirCopy ("C:\@AppDataDir\SUPERAntiSpyware.com\SUPERAntiSpyware", "C:\@ProgramsDir\SUPERAntiSpyware", 1)

What i DID notice though, is that the "@AppDataDir" and "@ProgramsDir" isn't pinkish (colored) and i get an Exit Code 0...

Matter of interest...Is there maybe a more "detailed" tutorial/manual on exactly HOW the code needs to be written?...ie spaces...no slashes...etc etc

Posted

I want to copy from "C:\Documents and Settings\Robin.USER1\Application Data\SUPERAntiSpyware.com\SUPERAntiSpyware" to

"C:\Program Files\SUPERAntiSpyware" including ALL the files...nothing fancy.

In my script it looks like this, but doesn't seem to work

Script

-------

#include <File.au3>

DirCopy ("C:\@AppDataDir\SUPERAntiSpyware.com\SUPERAntiSpyware", "C:\@ProgramsDir\SUPERAntiSpyware", 1)

What i DID notice though, is that the "@AppDataDir" and "@ProgramsDir" isn't pinkish (colored) and i get an Exit Code 0...

Matter of interest...Is there maybe a more "detailed" tutorial/manual on exactly HOW the code needs to be written?...ie spaces...no slashes...etc etc

You are obviously using SciTE, therefore just hit F1 for help. It's all there.

♡♡♡

.

eMyvnE

Posted

You are obviously using SciTE, therefore just hit F1 for help. It's all there.

Here is another code i've tried with no results--->

#include <File.au3>

DirCopy (@AppDataDir & "\SUPERAntiSpyware.com\SUPERAntiSpyware", @ProgramsDir & "\SUPERAntiSpyware", 1)

Btw, no offence, but for a newbie the manual is quite diff to understand...Its easy to put one "this=that" in there, but when you work with strings of code....well...another story :mellow:

Posted

Here is another code i've tried with no results--->

#include <File.au3>

DirCopy (@AppDataDir & "\SUPERAntiSpyware.com\SUPERAntiSpyware", @ProgramsDir & "\SUPERAntiSpyware", 1)

Btw, no offence, but for a newbie the manual is quite diff to understand...Its easy to put one "this=that" in there, but when you work with strings of code....well...another story :mellow:

You have a folder inside a file.

♡♡♡

.

eMyvnE

Posted (edited)

You have a folder inside a file.

Trancexx...I presume you're a "fundi" on script-coding, and i respect you for that, but could you maby just give me a "sample" of this type of coding?...Ie how would you have written my code? ( i need 2 copy the sub-folders as well)

tia

Edited by Robin
Posted (edited)

Trancexx...I presume you're a "fundi" on script-coding, and i respect you for that, but could you maby just give me a "sample" of this type of coding?...Ie how would you have written my code? ( i need 2 copy the sub-folders as well)

tia

Locations? From and to? (I know you said that before, but please do again)

You could be presuming wrong.

Edited by trancexx

♡♡♡

.

eMyvnE

Posted (edited)

Locations? From and to? (I know you said that before, but please do again)

You could be presuming wrong.

Lol...here is my BATCH file (well, part of it that i need to translate to AutoIt Script)

-->xcopy "%APPDATA%\SUPERAntiSpyware.com\SUPERAntiSpyware" "%PROGRAMFILES%\SUPERAntiSpyware" /e /h /c /i<---

...and it IS working 100% as a batch-file....the /e /h/c/i is just "switches" so it can copy everything...I think i can do it with _RunDos, but i would like to do it "scrypting-wise"...to eliminate the black command-prompt window...

Edited by Robin
Posted

DirCopy (@AppDataDir & "\SUPERAntiSpyware.com\SUPERAntiSpyware", @ProgramFilesDir & "\SUPERAntiSpyware", 1)

Your code should be working but drops on wrong place.

@ProgramsDir is not %PROGRAMFILES%

Don't forget to remove SUPERAntiSpyware folder from @ProgramsDir

Eish man...worked like a charm...Thx trancexx :mellow:
Posted (edited)

Robin?

I had Julie once.

not robin, SUPERAntiSpyware, it was like a keylogger and advertising a product, it would show popups telling you to buy the program to get rid of the virus..

Edit: After doing some research SuperAntispyware is legit :mellow: I guess I had something else or an impersonator

Edited by DexterMorgan
code

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...