'mode' is not recognized as an internal or external command

Compares and synchronizes SQL Server databases, backups and scripts.

Moderators: JonathanWatts, Chris Auckland, David Atkinson, eddie davis, Anu Deshpande, Michelle Taylor, alice.easey, james.billings, chengvoon.tong

'mode' is not recognized as an internal or external command

Postby gvsoft » Thu Aug 16, 2012 7:42 pm

Hi,

I'm using SQLCompare 10.1.0.102

Given the following command line:

sqlcompare /server1:.\\\\SQLEXPRESS /database1:HT /makesnapshot:2-Schema.snp /force

SQL Compare produces the following message:

'mode' is not recognized as an internal or external command, operable program or batch file.

What does this mean? Should I be concerned? How do I resolve it?

The operation appears to complete successfully and (I think) I get the results I expect.

(edit: I just updated to 10.2.0.1337, but there was no change in behavior)

- Dennis
gvsoft
 
Posts: 16
Joined: Thu Jul 19, 2012 12:11 am

Postby Michelle Taylor » Mon Aug 20, 2012 1:50 pm

If you're using an older version of Windows, the SQL Compare and Data Compare command lines will now display this message when you run them.

It shouldn't affect their operation in any way - it's just that they're attempting to use a feature added in later versions to help fix awkward output in a few cases. The old behaviour should all be preserved in the case that this new feature is not available.

So - no need for concern, and we'll see if we can suppress the message in future versions.
Michelle Taylor
 
Posts: 529
Joined: Mon Oct 30, 2006 12:45 pm
Location: Red Gate Software

Re: 'mode' is not recognized as an internal or external command

Postby aspnerd » Tue Jun 11, 2013 5:26 pm

gvsoft wrote:Hi,

I'm using SQLCompare 10.1.0.102

Given the following command line:

sqlcompare /server1:.\\\\SQLEXPRESS /database1:HT /makesnapshot:2-Schema.snp /force

SQL Compare produces the following message:

'mode' is not recognized as an internal or external command, operable program or batch file.

What does this mean? Should I be concerned? How do I resolve it?

The operation appears to complete successfully and (I think) I get the results I expect.

(edit: I just updated to 10.2.0.1337, but there was no change in behavior)

- Dennis


I'm having this same issue and I'm using Windows 7 64bit. RedGate SQL Compare 10.3.8.406
aspnerd
 
Posts: 8
Joined: Wed May 04, 2011 5:03 pm
Location: Jacksonville, FL


Return to SQL Compare 10

Who is online

Users browsing this forum: No registered users and 1 guest