tbaror 0 Posted May 15, 2011 (edited) Hello All, I am writing a script and testing it under different machines Os w7 ,xp and W2k3, on the W7 i have FileDelete & FileMove that's works on other hand not on W2k3 that i am testing with a user administrator both domain and locally any idea what it could be FileDelete(@ScriptDir &"\Traces\*.Pcap") .. . . FileMove ( @ScriptDir & "\*.Pcap" , @ScriptDir &"\Traces\*.*" , 9) Edited May 15, 2011 by tbaror Share this post Link to post Share on other sites
wakillon 403 Posted May 15, 2011 Did you look at file attributes ? AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites
tbaror 0 Posted May 15, 2011 (edited) Hello All, I am writing a script and testing it under different machines Os w7 ,xp and W2k3, on the W7 i have FileDelete & FileMove that's works on other hand not on W2k3 that i am testing with a user administrator both domain and locally any idea what it could be FileDelete(@ScriptDir &"\Traces\*.Pcap") .. . . FileMove ( @ScriptDir & "\*.Pcap" , @ScriptDir &"\Traces\*.*" , 9) Hi , yes they are not read-only actually they created by Autoit from prior run, the files are created by run command executing thsark capture and the process is not running to lock the file ,its strange on other machine i am testing (w7) its works smooth. Edited May 15, 2011 by tbaror Share this post Link to post Share on other sites
tbaror 0 Posted May 15, 2011 (edited) SORRY found it i got lost in some IF THEN Thanks anyway Edited May 15, 2011 by tbaror Share this post Link to post Share on other sites