You need these options on to use xp_cmdshell
EXEC sp_configure 'show advanced options', 1
RECONFIGURE
EXEC sp_configure 'xp_cmdshell', 1
RECONFIGURE
EXEC xp_cmdshell 'osql -E -S "SERVER.edu" -d "DBNAME" -i "E:\ACRC443\event_echo_1\event_echo_ins_1_1.sql" '