Batch process from command line with spaces in folder path.


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):08.05.02.35
 Environment: N\A
 Area: Batch Processing
 Subarea: N\A
 Original Author:Bentley Technical Support Group
  

Problem

How can I use the batch process from the command line with
spaces in folder path?
Trying to batch convert files that exist spaces in folder path;
when the path is read in DOS prompt, error "invalid argument"
is displayed, as it does not recognize spaces.

Product: MicroStation V8 2004 Edition
Version: 08.05.02.35
Area: Batch Processing



Solution

Quotation marks must be used and they most enclose the entire
argument.

For example if test.bcnv file exist in a folder with a space
(G:\Folder with space\)
Use the following syntax:
ustation -wabatchconvert "-iG:\Folder with space\test.bcnv"



See Also