Sign in to follow this  
Followers 0
Light

Dircopy

7 posts in this topic

#1 ·  Posted (edited)

Hi :lmao:

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

I'm Admin

XP HOME

MsgBox (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 by Light

Share this post


Link to post
Share on other sites



Nobody....?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Nobody....?

what OS is this running on ? i dont have IEXPLORE in my profile DIR on Windows XP Pro

oops should try reading... you sure its in @USERPROFILEDIR ??? - do you mean the FAVORITES folder ???

Edited by craig.gill

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

I found someting strange

Look at the pic's

The first is before i click on Iexplore

esnips

The other is afterwards

esnips

It changes the dir name from Iexplore to Favoritter when I open the dir...!

Whats going on here ?

I have not seen this before

Edited by Light

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

I found someting strange

Look at the pic's

The first is before i click on Iexplore

esnips

The other is afterwards

esnips

It changes the dir name from Iexplore to Favoritter when I open the dir...!

Whats going on here ?

I have not seen this before

you 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 by craig.gill

Share this post


Link to post
Share on other sites

try using the macro @FavoritesDir instead of @UserProfileDir & "\Iexplore that way it should always be correct.

:ph34r: Thank you. I missed @FavoritesDir :lmao:

I'll try to do better next time....

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0