How do I reference a path with a space in it?
Posted: Mon 22 Feb 2016 21:10
I'm using Schema Compare PRO 4.032 on the command line in powershell
Here is my command:
.\schemacompare /snapshot /compress:True /connection:server=MyServer /database:MyDB /file:'I:\Snapshots\My Snapshots\MyDB_snapshot.snap'
The console doesn't display an error but the snapshot doesn't create. If I remove the space in the path and the command, it works as expected. I need to account for the space character - how do I do this in the command?
Here is my command:
.\schemacompare /snapshot /compress:True /connection:server=MyServer /database:MyDB /file:'I:\Snapshots\My Snapshots\MyDB_snapshot.snap'
The console doesn't display an error but the snapshot doesn't create. If I remove the space in the path and the command, it works as expected. I need to account for the space character - how do I do this in the command?