HI
I want code for copy files/folders from one location to another in Oracle Forms 6i.
ie:
from c:\my_folder
to d:\your_folder
or
form //server/c$/my_folder
to d:\your_folder
Can any body has done so or have any idea.
Muhammad Niaz Qureshi
Oracle Developer
Copying files/folders(Code) in Forms 6i
-
- Posts: 132
- Joined: Sun Apr 02, 2006 10:36 am
- Location: Pakistan
Its very simple
use Host.
for example file located on d:\abc.sql and copy it to c:\
<b>Host ('Copy d:\abc.sql c:\');</b>
use xcopy for coping folder
you can make yours logic for veriable path its also very simple if any problem please reply or mail me at mirza_rehan@yahoo.com
Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807
When ever you pray
Please remember me and my family
use Host.
for example file located on d:\abc.sql and copy it to c:\
<b>Host ('Copy d:\abc.sql c:\');</b>
use xcopy for coping folder
you can make yours logic for veriable path its also very simple if any problem please reply or mail me at mirza_rehan@yahoo.com
Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807
When ever you pray
Please remember me and my family
-
- Posts: 132
- Joined: Sun Apr 02, 2006 10:36 am
- Location: Pakistan
Assalam-o-Alaikum
you can also use Win_Api_Utility.Copy_File for coping file
<b>Win_Api_Utility.Copy_File('d:\abc.sql', 'c:\abc.sql');</b>
i think both suggestion will helpful for you
Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807
When ever you pray
Please remember me and my family
you can also use Win_Api_Utility.Copy_File for coping file
<b>Win_Api_Utility.Copy_File('d:\abc.sql', 'c:\abc.sql');</b>
i think both suggestion will helpful for you
Best regards,
R E H A N M I R Z A
System Analyst / Senior Oracle Developer
Cell: +92-304-2120807
When ever you pray
Please remember me and my family
Who is online
Users browsing this forum: No registered users and 1 guest