Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2002
    Posts
    1

    Red face Unanswered: scptxfr.exe folder name help!

    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!

  2. #2
    Join Date
    Dec 2001
    Location
    Toronto, Canada
    Posts
    335
    Make sure you have double quotes around the directory name, if spaces exists.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •