Computing.Net > Forums > Windows XP > Batchfile-copy from CD & create Shortcut

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batchfile-copy from CD & create Shortcut

Reply to Message Icon

Name: Abri
Date: October 21, 2009 at 06:06:08 Pacific
OS: Windows XP
Product: Microsoft Windows xp professional edition
Subcategory: General
Comment:

I need to give a presentation to a client on CDs. It is flashfiles so it runs too slow from the CD. I would like to create a Batch File that I copy onto the CD that I will call install. It needs to then copy all the files and Directory from the CD to the C: Drive(I will put it all in a directory that can go to the C Drive as is) and then it must make a shortcut to the .htm file that would be inside the Directory that was copied, and send the shortcut to the Desktop.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: October 21, 2009 at 11:30:13 Pacific
Reply:

@echo off & setLocal EnableDELAYedExpansion

xcopy r:\show c:\show\

pushd "C:\Documents and Settings\Administrator\Desktop"
> my.URL echo [InternetShortcut]
>> my.URL echo URL=file:///C:/show/my.html


=====================================
Helping others achieve escape felicity

M2


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Batchfile-copy from CD & create Shortcut

cannot copy from cd to cd www.computing.net/answers/windows-xp/cannot-copy-from-cd-to-cd/33158.html

MP3's from CD on Media Player 9? www.computing.net/answers/windows-xp/mp3s-from-cd-on-media-player-9/72935.html

Cannot copy from cd www.computing.net/answers/windows-xp/cannot-copy-from-cd/29686.html