host command in oracle forms 6i [message #607566] |
Sun, 09 February 2014 22:56 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/179f97959fff992c5a429923f655f53e?s=64&d=mm&r=g) |
aaan4321
Messages: 5 Registered: April 2011
|
Junior Member |
|
|
Dear All,
I have a form from which i require to copy files from 'x' folder to 'y' folder.Sometimes the files that i search may not be available in 'x' folder. When I use the FORM_SUCCESS script , then it returns true whether the copy fails or succeeds.
My requirement is that I need to find whether the file is availble in 'x' folder. ?I need to list all those files that I need to copy from 'x' folder but are not available in that 'x'folder. Please advise.
|
|
|
|
|
Re: host command in oracle forms 6i [message #607677 is a reply to message #607626] |
Tue, 11 February 2014 00:11 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
I think that Forms is a wrong tool to copy files from here to there. On MS Windows, I prefer using Windows Explorer to do that job.
If you think that Shahzaib's suggestion (which utilizes HOST built-in along with DOS batch script) is a suitable tool, go ahead; it is capable of accepting parameters, so you'd pass file name to that batch file.
However, as you said that file name is not the same all the time, how will you know file name, then?
|
|
|