Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pass directory path that have space to windows shell?

I am using IEcapt.exe to capture website snapshot. The problem is, it cannot handle path directory that have space. Like this:

c:\program files\

Is there any way how I can pass directory like this to make it work?

like image 740
karikari Avatar asked Mar 02 '11 05:03

karikari


1 Answers

Usually just double-quoting windows paths will work:

IEcapt.exe "C:\Program Files\some path"

If that really doesn't work, you might be able to get away with using the 8.3 filename or, in the case of program files, the %programfiles% variable.

like image 76
kojiro Avatar answered Oct 23 '22 06:10

kojiro