Sign in to follow this  
Followers 0
tbaror

FileDelete & FileMove not working under Win2k3

4 posts in this topic

#1 ·  Posted (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 by tbaror

Share this post


Link to post
Share on other sites



Did you look at file attributes ?


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by tbaror

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

SORRY :unsure: found it i got lost in some IF THEN

Thanks anyway

Edited by tbaror

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0