Microsoft
Software
Hardware
Network
Question : WinRAR & xp_cmdshell
I'm having difficulty getting the following code to execute:
exec master..xp_cmdshell '"c:\program files\winrar\winrar.exe" x -o+ "\\fs1\myshare\*.zip" "\\fs1\myshare\"'
I'm getting the error msg "'c:\program' is not recognized as an internal or external command, operable program or batch file.
Any suggestions?
Thanks.
Answer : WinRAR & xp_cmdshell
exec master..xp_cmdshell '"c:\program~1\winrar\winr
ar.exe" x -o+ "\\fs1\myshare\*.zip" "\\fs1\myshare\"'
Random Solutions
SQL 2005 - Create failed for database 'test'. (Microsoft.SqlServer.smo)
How to subscript and superscript on mySQL?
MS Access: sending table or reports (in Excel or text forms) via email
Setup Exchange 2010 to Receive Mail
List box in inputbox?
Windows Server 2008 File Server inaccessible from clients
Exchange 2010: 550 5.7.1 Client does not have permissions to send as this sender
SQL Query Problems
Print HTML File Issue
Login scripts not working between domains with a trust