Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.DATABASES.MYSQL
MS SQL Server: run external program
From
Ammammata
@21:1/5 to
All
on Thu Jul 29 10:43:20 2021
Hi
I'm trying to run MS Access runtime, with my procedure and an additional parameter
the command line is
MSACCESS.EXE c:\Sviluppo\QCT\QCT1000.mdb ;255
without path, being it already included in the PATH variable
this command works fine when I use the "Run" window
when I try this command from within MSSMS
EXEC xp_cmdshell 'MSACCESS.EXE c:\Sviluppo\QCT\QCT1000.mdb ;255';
GO
I get the error:
output
'MSACCESS.EXE' is not recognized as an internal or external command,
operable program or batch file.
NULL
If I include the path in the command line
EXEC xp_cmdshell '"C:\Program Files\Microsoft Office\Office16\MSACCESS.EXE" c:\Sviluppo\QCT\QCT1000.mdb ;255';
GO
it goes into a loop and I have to kill MSSMS to exit
Note that I'm not sure how to use "" because of the space in the path
between words Microsoft and Office
Any suggestion is welcome
--
/-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\
-=- -=- -=- -=- -=- -=- -=- -=- - -=-
........... [ al lavoro ] ...........
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Beg5210
Sat Oct 31 07:44:00 2026
from
Melbourne, Aus
via
Telnet
Beg5210
Sat Oct 31 07:42:02 2026
from
Melbourne, Aus
via
Telnet
Skreek
Sat Oct 31 01:26:37 2026
from
Leeds, England
via
Telnet
Ashenfieldx
Sat Oct 31 00:53:18 2026
from
Guelph, Ontario
via
Telnet
Rixter
Fri Oct 30 23:01:34 2026
from
Madison, Nc
via
Telnet
Brianm
Fri Oct 30 22:44:03 2026
from
Glasgow
via
Raw
Amstrad Ppc
Fri Oct 30 21:43:10 2026
from
Wiltshire
via
SSH
Amstrad Ppc
Fri Oct 30 19:12:25 2026
from
Wiltshire
via
SSH
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
795
Nodes:
16 (
2
/
14
)
Uptime:
138:50:02
Calls:
13,181
Calls today:
4
Files:
15,481
Messages:
6,578,999
Posted today:
2