Robin Posted November 1, 2008 Share Posted November 1, 2008 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 Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 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 workScript-------#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 etcYou are obviously using SciTE, therefore just hit F1 for help. It's all there. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Robin Posted November 1, 2008 Author Share Posted November 1, 2008 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 Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 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 You have a folder inside a file. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Robin Posted November 1, 2008 Author Share Posted November 1, 2008 (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 November 1, 2008 by Robin Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 (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)tiaLocations? From and to? (I know you said that before, but please do again)You could be presuming wrong. Edited November 1, 2008 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Robin Posted November 1, 2008 Author Share Posted November 1, 2008 (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 November 1, 2008 by Robin Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 Operating system? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Robin Posted November 1, 2008 Author Share Posted November 1, 2008 Operating system?WinXP SP3 Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 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 ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Robin Posted November 1, 2008 Author Share Posted November 1, 2008 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 @ProgramsDirEish man...worked like a charm...Thx trancexx Link to comment Share on other sites More sharing options...
DexterMorgan Posted November 1, 2008 Share Posted November 1, 2008 That is so wierd, I swear to god I had a virus by that name... code Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 That is so wierd, I swear to god I had a virus by that name...Robin?I had Julie once. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
DexterMorgan Posted November 1, 2008 Share Posted November 1, 2008 (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 I guess I had something else or an impersonator Edited November 1, 2008 by DexterMorgan code Link to comment Share on other sites More sharing options...
trancexx Posted November 1, 2008 Share Posted November 1, 2008 Yea, I was lying too. Julie wasn't virus. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now