--- Alan Martin <[EMAIL PROTECTED]> wrote: > That makes me think the icon displaying routine is looking > at the entire command line: > c:\utils\xnview.exe "%windir%\Gone Fishing.bmp" ; no icon > c:\utils\xnview.exe "c:\windows\Gone Fishing.bmp" ; icon > "c:\utils\xnview.exe" "%windir%\Gone Fishing.bmp" ; icon > > So if there is an %envar%, but no quotes around the command, > then the icon display routine finds it difficult to know how > much of the line to select when looking for its source exe. > The quotes around the command help it select the command (exe) > part of the line.
Basically the same as what I guessed as the possible cause. (Although I didn't expect the second example to work, I can understand why it worked.) However, %env% is not playing any particular role here. What happens if the following is used? c:\utils\xnview.exe "Gone Fishing.bmp" !`C:\Windows I bet "no icon" in this case either. Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
