View Single Post
  #5  
Old 03-18-2002, 03:07 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Perhaps Drwade can include something like this in his next release
Code:
mysql -f < npc_types.txt
mysql -f < merchants.txt
... 
cls
@echo off
echo Clean up imported files? (delete them)
Choice [y,n]
if errorcode goto
I forget all the file names but you get the idea. Name it import.bat and add instructions to copy the files to the mysql\bin dir and run the bat file. I am not sure if it would be better to use the -f option or not...

I'll try an post a working batch file up later.

anyhow my 2cp
Reply With Quote