Sqlcmd: Error: Error occurred while opening or operating on file F:\mssql\dba\scripts\2000ResetUsers2000.sql (Reason: The system cannot find the path specified).

  • Can anyone please help me on this? I really need an urgent solution to this. Thanks a lot

  • I guess the file name/path is incorrect. Maybe it should be F:\mssql\dba\scripts\2000\ResetUsers2000.sql

  • Yes that is the exact path that i have in. Sorry i got mssql01 in the error msg when i was typing.

    Still is not working.

    One thing here, the code that i am using works fine in SQL 2000 and it uses osql instead. I need now to switch to sql 2005 and when i removed osql to use sqlcmd it gives me the path error. It will alos give the path error if i use osql with sql 2005.

    I am really stuck...help please.

    Priya

  • can you post the full command you are using in the command line

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply