Light Posted October 9, 2006 Posted October 9, 2006 (edited) Hi I'm trying to backup 3 dir's in "@UserProfileDir" by using DirCopy.2 of the dir's are copied OK.The third is "Iexplore" (The dir where IE saves the links)I tried "DirCopy" but it only gives me an error. I also tested the dir with "FileExists" , "DirGetSize" and "FileGetAttrib".They gives me an error too.Does someone know the solution to this....?I am using AutoIt3.exe ver 3, 2, 0, 1I'm AdminXP HOMEMsgBox (0,"","Return value from FileGetAttrib "& @CRLF & "Path : " &@UserProfileDir & "\Iexplore : " & FileGetAttrib(@UserProfileDir & "\Iexplore" )& " @error : " & @error) MsgBox (0,"","Return value from DirGetSize : "& @CRLF & "Path : " &@UserProfileDir & "\Iexplore : " & DirGetSize(@UserProfileDir & "\Iexplore" )& " @error : " & @error) MsgBox (0,"","Return value from FileExists : "& @CRLF & "Path : " &@UserProfileDir & "\Iexplore : " & FileExists(@UserProfileDir & "\Iexplore")& " @error : " & @error) MsgBox (0,"","Return value from Dircopy : "& @CRLF & "Path : " &@UserProfileDir & "\Iexplore : " & DirCopy(@UserProfileDir & "\Iexplore","C:\",1)& " @error : " & @error) Edited October 9, 2006 by Light
skippynz Posted October 9, 2006 Posted October 9, 2006 (edited) Nobody....?what OS is this running on ? i dont have IEXPLORE in my profile DIR on Windows XP Prooops should try reading... you sure its in @USERPROFILEDIR ??? - do you mean the FAVORITES folder ??? Edited October 9, 2006 by craig.gill
Moderators SmOke_N Posted October 9, 2006 Moderators Posted October 9, 2006 http://www.autoitscript.com/forum/index.ph...c=33610&hl= Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Light Posted October 9, 2006 Author Posted October 9, 2006 (edited) I found someting strangeLook at the pic'sThe first is before i click on Iexplore esnipsThe other is afterwardsesnipsIt changes the dir name from Iexplore to Favoritter when I open the dir...!Whats going on here ?I have not seen this before Edited October 9, 2006 by Light
skippynz Posted October 9, 2006 Posted October 9, 2006 (edited) I found someting strangeLook at the pic'sThe first is before i click on Iexplore esnipsThe other is afterwardsesnipsIt changes the dir name from Iexplore to Favoritter when I open the dir...!Whats going on here ?I have not seen this beforeyou must have renamed the favorites folder to IEXPLORE as thats not the normal name for it -dunno why it would change to FAVORITTER ? try using the macro @FavoritesDir instead of @UserProfileDir & "\Iexplore that way it should always be correct. Edited October 9, 2006 by craig.gill
Light Posted October 9, 2006 Author Posted October 9, 2006 try using the macro @FavoritesDir instead of @UserProfileDir & "\Iexplore that way it should always be correct. Thank you. I missed @FavoritesDir I'll try to do better next time....
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