PDA

View Full Version : scptxfr.exe folder name help!


mkey
02-18-02, 11:04
Hi all,
My working environment is windowns NT 4.0 and my question is when I use the scptxfr.exe in sql server 7 to script out db structure to a folder that has space. The dos command is coming as not recognized folder name.For example Program Files has a space in it. Is there a way to get around this problem without changing the folder name?
Any thoughts will help!

achorozy
02-18-02, 20:59
Make sure you have double quotes around the directory name, if spaces exists.

scptxfr /s myServer /d pubs /I /f "C:\Program Files\Pubs\Script.sql"