Jump to content

FileDelete & FileMove not working under Win2k3


Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...