Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

File Move Help

$
0
0
Hi, i've been trying to create a script so that you type in the name of a folder in a input and then you press a button to go into the folder that you put the name of in input and then copy a specific file in there and then paste it inside of another folder.


But i'm having a problem - I type in the exact name of a folder and it doesnt work, here it is



$FolderName = GuiCtrlRead($Input1)

FileCopy("C:\Users\Austin Layne\AppData\Roaming\Noob\NoobSo\"&$ClientName&"example.jar"




But if i do it like this without the input... it works



$ClientName = GuiCtrlRead($Input1)

FileCopy("C:\Users\Austin Froob\AppData\Roaming\Noob\NoobSo\example.jar"


-Also i didnt add where i was going to paste the file at because it wasnt nessassary

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>