Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-12-2007, 06:49 PM
Don J
Newsgroup Contributor
 
Posts: n/a
How do you copy a shortcut to a file with a batch file?

How do you copy a shortcut for a file instead of the file itself with a
batch file? The shortcut should be preferably created automatically by the
copy process.

Don J

----------------------------------------------------------


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-12-2007, 06:49 PM
  #2 (permalink)  
Old 04-12-2007, 06:49 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?


"Don J" <dej8801@comcast.net> wrote in message
news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast.com. ..
> How do you copy a shortcut for a file instead of the file itself with a
> batch file? The shortcut should be preferably created automatically by

the
> copy process.
>
> Don J
>
> ----------------------------------------------------------


If I understand you correctly then you wish to ***create***
(rather than ***copy***) a shortcut, using batch file commands.
I found these links in my old notes - one of them might help.

http://info-x.co.uk/files.asp?id=4
http://www.ss64.com/nt/shortcut.html
http://www.optimumx.com/download/#Shortcut


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-12-2007, 07:34 PM
Terry
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

On 4/12/2007 9:37 PM On a whim, Don J pounded out on the keyboard

> How do you copy a shortcut for a file instead of the file itself with a
> batch file? The shortcut should be preferably created automatically by the
> copy process.
>
> Don J
>
> ----------------------------------------------------------
>
>


Hi Don,

To copy a shortcut named "test" on your Desktop, from a command prompt
while in the folder Desktop, you would use:
copy test.lnk c:\links

Open a command prompt (Start, Run, cmd) and navigate to your Desktop
folder and type dir and press Enter. You'll see the shortcuts all with
the lnk extension.

Links are not created by copying. You create it within Windows.

--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 04-12-2007, 08:20 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?


"Don J" <dej8801@comcast.net> wrote in message
news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast.com. ..
> How do you copy a shortcut for a file instead of the file itself with a
> batch file? The shortcut should be preferably created automatically by

the
> copy process.
>
> Don J
>
> ----------------------------------------------------------


I note that your time or time zone is set incorrectly. You're
posting in the future.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 04-12-2007, 08:22 PM
Don J
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

Thank you for the very useful help. My shortcut problem is solved.

Now for the issue of time. I have checked my date and time against
www.timeanddate.com/worldclock/city.html?n=43 . The Web-Site gives the time
and date for Boston Massachusetts. My System displayed time and date
matches that given on the Web Site within about a minute. You have not been
the first to tell me I've got a problem. Every time I check it out and
don't see what the problem is. Clearly with so many people telling me I
have a problem, I must indeed have one. Can you help me? Am I looking at
things wrong?

Thanks again.

Don J

-----------------------------------------------------------------------
"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:OPuAPXXfHHA.1252@TK2MSFTNGP04.phx.gbl...
>
> "Don J" <dej8801@comcast.net> wrote in message
> news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast.com. ..
>> How do you copy a shortcut for a file instead of the file itself with a
>> batch file? The shortcut should be preferably created automatically by

> the
>> copy process.
>>
>> Don J
>>
>> ----------------------------------------------------------

>
> I note that your time or time zone is set incorrectly. You're
> posting in the future.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 04-12-2007, 09:03 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

You can see that your time/time zone is wrong by looking
at the various posts in this thread. Your posts have a consistent
time stamp of about three hours after the various replies.

I suspect that your time zone is set wrongly.


"Don J" <dej8801@comcast.net> wrote in message
news:z_WdncUGZ9vfaIPbnZ2dnUVZ_qiqnZ2d@comcast.com. ..
> Thank you for the very useful help. My shortcut problem is solved.
>
> Now for the issue of time. I have checked my date and time against
> www.timeanddate.com/worldclock/city.html?n=43 . The Web-Site gives the

time
> and date for Boston Massachusetts. My System displayed time and date
> matches that given on the Web Site within about a minute. You have not

been
> the first to tell me I've got a problem. Every time I check it out and
> don't see what the problem is. Clearly with so many people telling me I
> have a problem, I must indeed have one. Can you help me? Am I looking at
> things wrong?
>
> Thanks again.
>
> Don J
>
> -----------------------------------------------------------------------
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:OPuAPXXfHHA.1252@TK2MSFTNGP04.phx.gbl...
> >
> > "Don J" <dej8801@comcast.net> wrote in message
> > news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast.com. ..
> >> How do you copy a shortcut for a file instead of the file itself with a
> >> batch file? The shortcut should be preferably created automatically by

> > the
> >> copy process.
> >>
> >> Don J
> >>
> >> ----------------------------------------------------------

> >
> > I note that your time or time zone is set incorrectly. You're
> > posting in the future.
> >
> >

>
>




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 04-13-2007, 07:30 AM
Don J
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

Your argument looks pretty convicing based on yours and terry's time stamps.
However I've looked at some other newsgroups that I've posted to and they
show no such time skew. Granted that these posts were from an earlier time.

My post of last night, according to my watch at the time I posted it (about
10:00pm), is correct to about 15 minutes. I know that my watch is correct
as I eat with a group at 5:00pm. Yet your post is about 3 hours before
mine. Don't these facts argue that I am correct and both your and Terry's
time are off? Whats wrong with my argument?

Don J

---------------------------------------------------------------------------------------


"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:eKZhg0XfHHA.1312@TK2MSFTNGP03.phx.gbl...
> You can see that your time/time zone is wrong by looking
> at the various posts in this thread. Your posts have a consistent
> time stamp of about three hours after the various replies.
>
> I suspect that your time zone is set wrongly.
>
>
> "Don J" <dej8801@comcast.net> wrote in message
> news:z_WdncUGZ9vfaIPbnZ2dnUVZ_qiqnZ2d@comcast.com. ..
>> Thank you for the very useful help. My shortcut problem is solved.
>>
>> Now for the issue of time. I have checked my date and time against
>> www.timeanddate.com/worldclock/city.html?n=43 . The Web-Site gives the

> time
>> and date for Boston Massachusetts. My System displayed time and date
>> matches that given on the Web Site within about a minute. You have not

> been
>> the first to tell me I've got a problem. Every time I check it out and
>> don't see what the problem is. Clearly with so many people telling me I
>> have a problem, I must indeed have one. Can you help me? Am I looking
>> at
>> things wrong?
>>
>> Thanks again.
>>
>> Don J
>>
>> -----------------------------------------------------------------------
>> "Pegasus (MVP)" <I.can@fly.com> wrote in message
>> news:OPuAPXXfHHA.1252@TK2MSFTNGP04.phx.gbl...
>> >
>> > "Don J" <dej8801@comcast.net> wrote in message
>> > news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast.com. ..
>> >> How do you copy a shortcut for a file instead of the file itself with
>> >> a
>> >> batch file? The shortcut should be preferably created automatically
>> >> by
>> > the
>> >> copy process.
>> >>
>> >> Don J
>> >>
>> >> ----------------------------------------------------------
>> >
>> > I note that your time or time zone is set incorrectly. You're
>> > posting in the future.
>> >
>> >

>>
>>

>
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 04-13-2007, 07:45 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?


"Don J" <dej8801@comcast.net> wrote in message
news:AtmdndoQr4C2D4LbnZ2dnUVZ_sKunZ2d@comcast.com. ..
> Your argument looks pretty convicing based on yours and terry's time

stamps.
> However I've looked at some other newsgroups that I've posted to and they
> show no such time skew. Granted that these posts were from an earlier

time.
>
> My post of last night, according to my watch at the time I posted it

(about
> 10:00pm), is correct to about 15 minutes. I know that my watch is correct
> as I eat with a group at 5:00pm. Yet your post is about 3 hours before
> mine. Don't these facts argue that I am correct and both your and Terry's
> time are off? Whats wrong with my argument?


Very simple: Your post's time stamp is not only different from
Terry's and mine but from everyone else's too! Your display time
is probably correct but your time zone isn't.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 04-13-2007, 08:00 AM
Don J
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

Looks like you are right. I've corrected it. I've learned something new.
Thanks!

Don J

---------------------------------------------------------------------------------

"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:Ou972hdfHHA.4772@TK2MSFTNGP05.phx.gbl...
>
> "Don J" <dej8801@comcast.net> wrote in message
> news:AtmdndoQr4C2D4LbnZ2dnUVZ_sKunZ2d@comcast.com. ..
>> Your argument looks pretty convicing based on yours and terry's time

> stamps.
>> However I've looked at some other newsgroups that I've posted to and they
>> show no such time skew. Granted that these posts were from an earlier

> time.
>>
>> My post of last night, according to my watch at the time I posted it

> (about
>> 10:00pm), is correct to about 15 minutes. I know that my watch is
>> correct
>> as I eat with a group at 5:00pm. Yet your post is about 3 hours before
>> mine. Don't these facts argue that I am correct and both your and
>> Terry's
>> time are off? Whats wrong with my argument?

>
> Very simple: Your post's time stamp is not only different from
> Terry's and mine but from everyone else's too! Your display time
> is probably correct but your time zone isn't.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 04-13-2007, 08:00 AM
John John
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

The way I see it here is that using clairvoyance and his amazing skills
to predict the future Pegasus is posting answers to your questions 2
hours before you even post and ask the questions!

John

Don J wrote:

> Your argument looks pretty convicing based on yours and terry's time stamps.
> However I've looked at some other newsgroups that I've posted to and they
> show no such time skew. Granted that these posts were from an earlier time.
>
> My post of last night, according to my watch at the time I posted it (about
> 10:00pm), is correct to about 15 minutes. I know that my watch is correct
> as I eat with a group at 5:00pm. Yet your post is about 3 hours before
> mine. Don't these facts argue that I am correct and both your and Terry's
> time are off? Whats wrong with my argument?
>
> Don J
>
> ---------------------------------------------------------------------------------------
>
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:eKZhg0XfHHA.1312@TK2MSFTNGP03.phx.gbl...
>
>>You can see that your time/time zone is wrong by looking
>>at the various posts in this thread. Your posts have a consistent
>>time stamp of about three hours after the various replies.
>>
>>I suspect that your time zone is set wrongly.
>>
>>
>>"Don J" <dej8801@comcast.net> wrote in message
>>news:z_WdncUGZ9vfaIPbnZ2dnUVZ_qiqnZ2d@comcast.co m...
>>
>>>Thank you for the very useful help. My shortcut problem is solved.
>>>
>>>Now for the issue of time. I have checked my date and time against
>>>www.timeanddate.com/worldclock/city.html?n=43 . The Web-Site gives the

>>
>>time
>>
>>>and date for Boston Massachusetts. My System displayed time and date
>>>matches that given on the Web Site within about a minute. You have not

>>
>>been
>>
>>>the first to tell me I've got a problem. Every time I check it out and
>>>don't see what the problem is. Clearly with so many people telling me I
>>>have a problem, I must indeed have one. Can you help me? Am I looking
>>>at
>>>things wrong?
>>>
>>>Thanks again.
>>>
>>> Don J
>>>
>>>-----------------------------------------------------------------------
>>>"Pegasus (MVP)" <I.can@fly.com> wrote in message
>>>news:OPuAPXXfHHA.1252@TK2MSFTNGP04.phx.gbl...
>>>
>>>>"Don J" <dej8801@comcast.net> wrote in message
>>>>news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast. com...
>>>>
>>>>>How do you copy a shortcut for a file instead of the file itself with
>>>>>a
>>>>>batch file? The shortcut should be preferably created automatically
>>>>>by
>>>>
>>>>the
>>>>
>>>>>copy process.
>>>>>
>>>>> Don J
>>>>>
>>>>>----------------------------------------------------------
>>>>
>>>>I note that your time or time zone is set incorrectly. You're
>>>>posting in the future.
>>>>
>>>>
>>>
>>>

>>
>>

>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #11 (permalink)  
Old 04-13-2007, 08:45 AM
Bob I
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

The fact that I am answering your post nearly 3 hours before you are
going to post it?

Don J wrote:

> Your argument looks pretty convicing based on yours and terry's time stamps.
> However I've looked at some other newsgroups that I've posted to and they
> show no such time skew. Granted that these posts were from an earlier time.
>
> My post of last night, according to my watch at the time I posted it (about
> 10:00pm), is correct to about 15 minutes. I know that my watch is correct
> as I eat with a group at 5:00pm. Yet your post is about 3 hours before
> mine. Don't these facts argue that I am correct and both your and Terry's
> time are off? Whats wrong with my argument?
>
> Don J
>
> ---------------------------------------------------------------------------------------
>
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:eKZhg0XfHHA.1312@TK2MSFTNGP03.phx.gbl...
>
>>You can see that your time/time zone is wrong by looking
>>at the various posts in this thread. Your posts have a consistent
>>time stamp of about three hours after the various replies.
>>
>>I suspect that your time zone is set wrongly.
>>
>>
>>"Don J" <dej8801@comcast.net> wrote in message
>>news:z_WdncUGZ9vfaIPbnZ2dnUVZ_qiqnZ2d@comcast.co m...
>>
>>>Thank you for the very useful help. My shortcut problem is solved.
>>>
>>>Now for the issue of time. I have checked my date and time against
>>>www.timeanddate.com/worldclock/city.html?n=43 . The Web-Site gives the

>>
>>time
>>
>>>and date for Boston Massachusetts. My System displayed time and date
>>>matches that given on the Web Site within about a minute. You have not

>>
>>been
>>
>>>the first to tell me I've got a problem. Every time I check it out and
>>>don't see what the problem is. Clearly with so many people telling me I
>>>have a problem, I must indeed have one. Can you help me? Am I looking
>>>at
>>>things wrong?
>>>
>>>Thanks again.
>>>
>>> Don J
>>>
>>>-----------------------------------------------------------------------
>>>"Pegasus (MVP)" <I.can@fly.com> wrote in message
>>>news:OPuAPXXfHHA.1252@TK2MSFTNGP04.phx.gbl...
>>>
>>>>"Don J" <dej8801@comcast.net> wrote in message
>>>>news:gJCdneHyEt52Q4PbnZ2dnUVZ_ternZ2d@comcast. com...
>>>>
>>>>>How do you copy a shortcut for a file instead of the file itself with
>>>>>a
>>>>>batch file? The shortcut should be preferably created automatically
>>>>>by
>>>>
>>>>the
>>>>
>>>>>copy process.
>>>>>
>>>>> Don J
>>>>>
>>>>>----------------------------------------------------------
>>>>
>>>>I note that your time or time zone is set incorrectly. You're
>>>>posting in the future.
>>>>
>>>>
>>>
>>>

>>
>>

>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 04-13-2007, 03:00 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: How do you copy a shortcut to a file with a batch file?

"Don J" <dej8801@comcast.net> wrote in message
news:LOidnXaT3q-WBYLbnZ2dnUVZ_oOknZ2d@comcast.com...
> Looks like you are right. I've corrected it. I've learned something new.
> Thanks!
>
> Don J


You sure took a lot of convincing!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy shortcut to desktop in a batch file Diane Walker Windows XP 15 07-22-2008 08:00 PM
Batch file copy EruditeBonnie Windows Vista 1 09-19-2007 01:40 PM
Network Copy Batch file Stoke Windows XP 8 02-04-2007 12:15 PM
Copy MS Access shortcut to desktop with a batch file Lee Windows XP 14 01-04-2007 04:15 AM
COPY command in a batch file Ken W Windows XP 16 01-04-2007 02:40 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 06:09 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0