How can I create a shortcut that includes a space character?

John Savill

May 17, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. A space in a shortcut isn't a valid target and results in the system not finding the target. For example, if a link is to http://www.savilltech.com/delold help.htm, when you use the link, it points only to http://www.savilltech.com/delold. To work around this problem, use the %20 sequence (which is the standard HTML sequence for a space in a URL) instead of the space.

This approach works for any protocol, including HTTP, HTTPS, FTP, MAILTO, File, NNTP, Telnet, News, Outlook, and UNC Naming. See the examples below:

  • HTTP example: http://someserver.com/Some%20Link.htm

  • FTP example: ftp://someserver.com/Some%20File.zip

  • MAILTO example: mailto:some%[email protected]

  • UNC example: \someserverSome%20ShareSome%20Filename%20with%20spaces.zip

The other official method is to place the shortcut in double quotes with the spaces as normal characters

Thanks to Robert Joa for this great tip.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like