Jump to content

Recommended Posts

Posted

I am trying to use a simple one line script to copy files from a network drive to another PC.

The copy works fine unless the file exists already.

If it does it doesnt work.

I used the "1" flag after the destination file but no luck.

Any ideas

FileCopy("\\eq1mis\install\Fortracs 3.2 Patches\*.*", "C:\Program Files\Fair Isaac\Fortracs 3.2.0" ,1)

Posted

I am trying to use a simple one line script to copy files from a network drive to another PC.

The copy works fine unless the file exists already.

If it does it doesnt work.

I used the "1" flag after the destination file but no luck.

Any ideas

FileCopy("\\eq1mis\install\Fortracs 3.2 Patches\*.*", "C:\Program Files\Fair Isaac\Fortracs 3.2.0" ,1)

Is the file on the host machine in use if it exists? That may be one reason why it wont copy.

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
Posted

Is the file on the host machine in use if it exists? That may be one reason why it wont copy.

I don' think its in use

Its a bunch of files, if I empty the directory, the copy works fine but it wont overwrite if it exists.

It fails after the first copy

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
  • Recently Browsing   0 members

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