Jump to content
Sign in to follow this  

ablot Filemove function question

Recommended Posts


how can i use %USERPROFILE% to Filecopy function

my sample is: FileMove ( "%ALLUSERSPROFILE%\Desktop\*.lnk", "%USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\" ,1 )

but it cant work

i find Filecopy also not work

help me


Share this post

Link to post
Share on other sites

You have to parse the system wide's variable data to an AU3's variable first before executing commands - not on the fly. When using data between quotes ("%SOMETHING%") it is parsed as a string, not as a variable.

If you can't extract the data you want with any other way to parse it to an AU3's variable (i.e. by reading the registry), use @macros or StdoutRead().

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...