Tell Amgr Doesn't Work When Database Path has Spaces

The Tell Amgr Run command doesn’t work when the database path has a space in it:

[0C54:003C-0B3C] 08/13/2013 08:34:54 PM Remote console command issued by Soandso: tell amgr run “Test\password.nsf” ‘Connect’

[0D84:000B-0AE4] 08/13/2013 08:34:55 PM AMgr: Start executing agent ‘Connect’ in ‘Test\password.nsf’

[0C54:003C-1394] 08/13/2013 08:35:03 PM Remote console command issued by Soandso: tell amgr run “Test 2\password.nsf” ‘Connect’

[0D84:0002-0D70] 08/13/2013 08:35:03 PM AMgr: Syntax for run command: tell amgr run “db filename” ‘agent name’

These are the exact same database, I just copied one to the “Test 2” folder.

Subject: Escape the quotes maybe

I think you need additional quotes and have to escape to get them included.

Give me a minute and I will see if I have an example.

It is not escaping the quotes or space but using another pair of single ticks inside the DB path double ticks.

See example for greater clarity.

tell amgr run “‘D:\Domino\data\Name With Space\DBDev.nsf’” ‘AgentNAme’