1 Reply Latest reply on Jun 19, 2014 5:39 AM by philmodjunk

    Use SendEvent or Send DDE Execute to move external .txt file

    Cadburys

      Title

      Use SendEvent or Send DDE Execute to move external .txt file

      Post

           Hi

           My db imports .txt files from a local cloud.  I would now like the .txt file to be moved to a folder within the same directory called Complete once the data has been imported.

           I have tried using by the SendEvent and Send DDE Execute but so far cannot get the files to move.

           I have two variables declared:  

           $datapath (c:\Local Cloud\Test)

           $csvfile (myimport1.txt)

           I have tried "cmd.exe /c move $csvfile./$datapath&Complete"

           but it doesnt work.

           What am I doing wrong?  Any help would be appreciated.

           Thanks

           Cadburys