Server based archive

Hi, I created a program to do a server based archive as follows

compact databasepath -a -B

I got an error “Invalid command line argument”

the databasepath is

corporate\intranet\quality supply.nsf

and yes there is a space in the database name

Can anyone tell me how to set this up with a database with a name with a space

Subject: Quotes

try it with double quotes around the databases name, or double quotes around the whole database path.

In the future, I would try to avoid putting spaces in file names.

Subject: Quotes only didnt work

Quotes didnt work.

Encasing filename within quotes works when server is still in 6.5 but didnt seem work with 8.5

However when the .nsf was taken out, the program to comapact to archive (-a) worked