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
Bob Worm
Thu Jul 30 20:01:55 2026
from
Wales, Uk
via
Telnet
Rixter
Thu Jul 30 14:17:17 2026
from
Madison, Nc
via
Telnet
Krenn
Thu Jul 30 13:16:49 2026
from
Sydney, Nsw
via
Telnet
Bob Worm
Thu Jul 30 09:03:28 2026
from
Wales, Uk
via
Telnet
Bob Worm
Thu Jul 30 08:47:34 2026
from
Wales, Uk
via
Telnet
Bob Worm
Thu Jul 30 08:36:06 2026
from
Wales, Uk
via
Telnet
Rixter
Thu Jul 30 02:32:09 2026
from
Madison, Nc
via
Telnet
Bob Worm
Wed Jul 29 22:26:45 2026
from
Wales, Uk
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
741
Nodes:
16 (
2
/
14
)
Uptime:
100:08:16
Calls:
12,458
Calls today:
8
Files:
15,197
Messages:
6,537,983