Re: file.move(_file_,?"D:\01XXXX\") not working

"brucexs-/[email protected] [power-pro]" <[email protected]>
Newsgroups gmane.comp.windows.power-pro
Message-ID <[email protected]>
If it is to tjust product a message if the file is not on the target drive then the following pseudo code is what I had in mind.  I am assuming you know how to script; you'll have to debug and check the following: 

 Command Entry Controls:
 Exec
 MoreCommandsAsScript
 

 Following in more commands
 

 local targetfolder = ?"D:\01XXXX\"
 local  targetpath= targetfolder ++ file.nametype(_file_)
 file.move(_file_, target)
 if (not file.validpath(targetpath))
 messagebox("ok topmost". "file.move failed\m"++targetpath, "Error on move")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.