SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Running a Batch File using PL/SQL Function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fraction
Starting Member

Pakistan
1 Posts

Posted - 02/24/2012 :  05:58:44  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

United Kingdom
3442 Posts

Posted - 02/24/2012 :  06:07:22  Show Profile  Visit Transact Charlie's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000