How to use imexutil.bat on Windows with either "-dir" and "-outdir" keywords when following directory name contains white space(s).
search cancel

How to use imexutil.bat on Windows with either "-dir" and "-outdir" keywords when following directory name contains white space(s).

book

Article ID: 44385

calendar_today

Updated On:

Products

DSERIES- SERVER CA Workload Automation DE - System Agent (dSeries)

Issue/Introduction

What syntax should be used to run the imexutil.bat on Windows where directory name contains space(s)?

E.g.

D:\CAWA_12\bin>imexutil.bat -h dehost -p 7500 -u user1234 -w password -c "exportcalendar -outdir d:\Export 12\ArtiFacts"

 

 

 

 

Environment

OS: MS Windows

Release: DSWAHA01300-12-Workload Automation DE-High Availability
Component:

Cause

The imexutil.bat parameters with directory name that contains space(s) need to be in double quotes.

Resolution

Use double quotes around the directory name. The backslash \ is also required before the double quote. 

E.g.

D:\CAWA_12\bin>imexutil.bat -h dehost -p 7500 -u user1234 -w passwrd -c "exportcalendar -outdir \"d:\Export 12\ArtiFacts\""