batch files cant contain spaces in file names, so
copy \program files\thisfile.ext \anydestination
fails
copy "\program files\thisfile.ext" "\anydestination in quotes around spaces"
proceeds
the copy may fail if you specify a desktop foldername, that does not exist
this pc has none of
C:\documents and settings\all users\desktop
C:\documents and settings\all users
C:\documents and settings
C:\documents and settings\user\desktop
C:\documents and settings\user
but %Homedrive%%Homepath%\desktop
works as does
%Homedrive%%allusersprofile%\desktop
windowsXP is on a virtual drive P: running as a toy in the background
batch files are unfriendly and expect you to code for all possibilities,
--
Adaware
http://www.lavasoft.de
spybot
http://www.safer-networking.org
AVG free antivirus
http://www.grisoft.com
Etrust/Vet/CA.online Antivirus scan
http://www3.ca.com/securityadvisor/virusinfo/scan.aspx
Panda online AntiVirus scan
http://www.pandasoftware.com/ActiveScan/
Catalog of removal tools (1)
http://www.pandasoftware.com/download/utilities/
Catalog of removal tools (2)
http://www3.ca.com/securityadvisor/n...aspx?CID=40387
Blocking Unwanted Parasites with a Hosts file
http://mvps.org/winhelp2002/hosts.htm
links provided as a courtesy, read all instructions on the pages before use
Grateful thanks to the authors and webmasters
_
"Diane Walker" <(E-Mail Removed)> wrote in message
news:OLwC$(E-Mail Removed)...
>I use Installshield software to setup the executable file to install the
>software. In that executable file, I setup a batch file to copy a
>shortcut to the desktop. The executable file ran successfully. However,
>the shortcut was not copied to the desktop. I got the error message "File
>not found" for the shortcut command. Do you have any suggestions? Thanks.
>