So i found out that the path without the \ and the path doesn't exist he think that it's file and creates file with the last folder name so it's better to add it anyway
I sew the @ScriptDir somewhere else but didn't get what its doing
And Yes its working without the \ and I think in CMD its working without it too but it's more understandable
Thank you
I think you dont get me
E:\\ChangingPathSomeTimes\script.exe + FileToCopy.*
Can i copy from the script folder what ever the path will be to the Documents?
But the Source of the file is anyware the script is runing from not in @MyDocumentsDir
The file is in the same folder with the script and i dont want to change the script any time i change the folder location
Can i do it?
Yes I forgot the \ and tried to add it but you posted
Its automaticly changed it to yellow
Now I got this code but its not working
FileCopy("\file.*", @MyDocumentsDir & "\folder\file.*", 8)
How can i get inside one more folder?
I tried this and it didnt work
@MyDocumentsDir\OneMoreFolder
Ok i found it
@MyDocumentsDir & "OneMoreFolder"
Now i cant find the option to copy file from the script folder
Hello
I need to replace a file in documents folder that i changed is place.
I cant find it with %USERPROFILE% i can find it with cmd like this:
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal
How can i do it in autoit?
Hi
I need to enter the path to the folder and press Enter
I tried something like this and it didn't work
WinWait("Select Folder", "ShellView", 1)
Send("C:\{Enter}")
and ControlSetText didn't work also