jcaspar Posted November 6, 2008 Posted November 6, 2008 Hello to all autoit users ! I'm trying to copy files from a local place to a shared place but it doesn't function i tryed to solutions .. in first case nothing happen in second it get blocked when there is other files in the share because you got a question asking you if you want to write over ? Perhaps you have some better ideas ? Thanks for your help and advices Jean Marc ;RunAs("administrateur",@ComputerName,"zorglub22",0,@SystemDir,@SW_HIDE) ;FileCopy("C:\APPLI\*.*\","\\DD68NMF06039\backup$\") ;Runas("administrateur",@ComputerName,"zorglub22",4,"cmd.exe /c xcopy c:\APPLI\*.* \\dd68nmf07010\backup$",@SW_HIDE) ;Send("cmd.exe{T}")
BrettF Posted November 6, 2008 Posted November 6, 2008 Have you tried with FileCopy ()? Might be easier than using CMD. But otherwise take a closer look at the I/O options available. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
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