Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Giving path with blank spaces to iis express fails

Tags:

iis-express

When I run IISExpress from command line, a path like c:\site works fine.

But if I change it to:

H:\Users\Username\Document\Visual Studio 2010\Projects\TestIISExpress\TestIISExpress\bin\Debug\site

it fails i.e. it gives general error saying command line parameters switch needs - ,/ etc etc.

Anybody faced same issue? Does it works on yours?

like image 594
matsu Avatar asked Apr 30 '11 13:04

matsu


People also ask

Where IIS Express install directory?

This file is located in the %userprofile%\Documents\IISExpress\config folder or %userprofile%\My Documents\IISExpress\config folder, depending on your OS.

What is IISExpress?

IIS Express is a lightweight, self-contained version of IIS optimized for developers. IIS Express makes it easy to use the most current version of IIS to develop and test websites.


1 Answers

I would believe if you have a path with spaces in it, you'd have to put it into double quotes:

"H:\Users\Username\Document\Visual Studio 2010\Projects\TestIISExpress\TestIISExpress\bin\Debug\site"

Does that help?

like image 116
marc_s Avatar answered Oct 03 '22 20:10

marc_s