Jump to content
Sign in to follow this  
tbaror

FileDelete & FileMove not working under Win2k3

Recommended Posts

tbaror

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
wakillon

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
tbaror

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
tbaror

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.