tbaror Posted May 15, 2011 Share 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 Link to comment Share on other sites More sharing options...
wakillon Posted May 15, 2011 Share 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 Link to comment Share on other sites More sharing options...
tbaror Posted May 15, 2011 Author Share 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 Link to comment Share on other sites More sharing options...
tbaror Posted May 15, 2011 Author Share Posted May 15, 2011 (edited) SORRY found it i got lost in some IF THEN Thanks anyway Edited May 15, 2011 by tbaror Link to comment Share on other sites More sharing options...
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