Jump to content
Sign in to follow this  
leslie

FileMove

Recommended Posts

The code inconsistently moves batches.

Ex: Batches 1-5 will be successful then batch 6 fails then batches 7-30 are successful and batch 31 fails

This is the code:

FileMove($dlmparty_handle, $Compl_dlmparty_handle,1)

Any ideas?

Any help would be appreciated.

Share this post


Link to post
Share on other sites

Any example script would also be appreciated.

This is everything.

$Success = FileMove($dlmparty_handle, $Compl_dlmparty_handle,1)

WriteToLogFile($LogFolder&$LogFile,"Move Dlmbillparty File from "&$dlmparty_handle&"

to "&$Compl_dlmparty_handle&": "&$Success)

Successful results return $Success = 1

Ex. Move Dlmbillparty File from C:\KGA\Temp\70061128051101_party.txt to c:\KGA\OutputFiles\70061128051101_party.txt: 1

Unsuccessful results return $Success = 0

Ex. Move Dlmbillparty File from C:\KGA\Temp\70061117051125_party.txt to c:\KGA\OutputFiles\70061117051125_party.txt: 0

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  

×
×
  • Create New...