Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Running a Batch File using PL/SQL Function

Author  Topic 

fraction
Starting Member

1 Post

Posted - 2012-02-24 : 05:58:44
HI

I want to run a .bat file through a function. I run this function from Oracle Application Concurrent Request and this function creates a text file, i want to encrypt that file so i have to run a .bat file after that, can anyone help me how can i run this file? I tried this but no success.

exec master..xp_cmdshell '\\10.0.0.164\backup.bat';

Thanks.

Transact Charlie
Master Smack Fu Yak Hacker

3451 Posts

Posted - 2012-02-24 : 06:07:22
this is a sql server forum -- someone may be able to help but.....

Maybe try over at dbforums?
http://www.dbforums.com/

Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page
   

- Advertisement -