Home » Developer & Programmer » Forms » host command in oracle forms 6i (oracle forms 6i)
host command in oracle forms 6i [message #607566] Sun, 09 February 2014 22:56 Go to next message
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 #607625 is a reply to message #607566] Mon, 10 February 2014 05:40 Go to previous messageGo to next message
shahzaib_4vip@hotmail.com
Messages: 410
Registered: December 2008
Location: karachi
Senior Member
The file name which you want to search is always same or not ?

If same then use host command with batch file


Regards


Shahzaib Ismail
Re: host command in oracle forms 6i [message #607626 is a reply to message #607625] Mon, 10 February 2014 06:10 Go to previous messageGo to next message
aaan4321
Messages: 5
Registered: April 2011
Junior Member
The file name is not the same always.
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
Littlefoot
Messages: 21809
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?
Previous Topic: size of folder/directory
Next Topic: Oracle Forms Look And Feel
Goto Forum:
  


Current Time: Thu May 16 21:28:51 CDT 2024