1. How to get SETUPAPI to accept a long filename AND QUOTE IT in a shortcut
I have spent the best part of three hours in MSDN help and various other
places with very little luck.
I hope there is somebody here who can help me or can point me to a more
I am using a windows 95 .INF file to create ("C:\WINNT\System32\rundll32.exe
setupapi,InstallHinfSection DefaultInstall 132 %1") a shortcut to a program
in "C:\Program Files\ThisSite" - i.e., the file to which the shortcut points
has a LONG filename.
The shortcut gets created ok if I right-click the INF file and select
INSTALL, but there are NO QUOTES areound the filename - this causes Windows
to think I am looking in a dirctory called "PROGRAM". I have tried
backslashing quote symbols, doubling them up, NOTHING seems to work.
The INF file syntax stuff at MS help is USELESS as it make no mention of how
to quote special characters other than the % sign.
PLEASE, can anyone tell me how I get the create shortcut to include the
quotes (ie. when I right-click it in the start menu and select Properties I
can see the actual program that the shortcut points to)?
I do NOT want to use short filenames for the target program, and will not
consider doing this unless it is a limit of the SETUPAPI dll, in which case,
I guess I haven't got much of a choice!
The file reads:
setup.ini, group,,"ThisSite Readme,"C:\Program
System is Windows2000 Prof. with SP1
PS: What happened to SETUPX.DLL anyway :-)
"*** 99 O'Clock *** ?? That's _impossible_!" ~ from "Gremlins", '79
Martin Howe EDGE Team Member Bombay Breed Club Committee Member
Personal web site: www.martin.howe.dial.pipex.com
Bombay Breed Club site: www.martin.howe.dial.pipex.com/bombaybreedclub/
2. WinXP RESTARTS after clicking TURN OFF button!!!
3. Why do you have to hit double-quote space to get double-quote
4. Upgrading from Win Me to Win 2K
5. long urls break again now?
6. Old image stuck in picture and fax viewer
7. Insert long URL's?
8. Request error message
9. Long URL Lines
10. stop truncating long URLs
11. Long URL - fails in shortcut
12. Internet Power Toys Quick Search doesn't accept long URLs
13. long URLs cut off