![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Desktop shortcuts This is probably the wrong place to ask this, but it's the best place I know of... If there's one better, please tell me. I have a command script ( .cmd ) where I'm trying to COPY a shortcut. It seems that I can copy the shortcut, when I do so manually/interactively. Copy & Paste works just fine. But my script? Nope. And I can't test for its existence either. Like, if it's already there, don't try to copy it. Shouldn't I be able to copy it with a script? Do I have to use a vbscript instead of a command script? I know that I can CREATE a shortcut, but I don't want to. It's looking like I may HAVE to, unless I can find the anwer to my copying it. Any help would be appreciated. Thanks in advance, Tom |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Desktop shortcuts If I were to create a shortcut for cmd.exe, how would I modify its properties? Such as text & background color, etc. On Sat, 14 Mar 2009 21:43:53 -0400, Tcs <someone@xxxxxx> wrote: Quote: >This is probably the wrong place to ask this, but it's the best place >I know of... If there's one better, please tell me. > >I have a command script ( .cmd ) where I'm trying to COPY a shortcut. >It seems that I can copy the shortcut, when I do so >manually/interactively. Copy & Paste works just fine. But my script? >Nope. And I can't test for its existence either. Like, if it's >already there, don't try to copy it. > >Shouldn't I be able to copy it with a script? Do I have to use a >vbscript instead of a command script? > >I know that I can CREATE a shortcut, but I don't want to. It's >looking like I may HAVE to, unless I can find the anwer to my copying >it. > >Any help would be appreciated. Thanks in advance, > >Tom |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Desktop shortcuts "Tcs" <someone@xxxxxx> wrote in message news:l1nor4117ddi0gn1hbb12veg7kr9upob8b@xxxxxx Quote: > This is probably the wrong place to ask this, but it's the best place > I know of... If there's one better, please tell me. > > I have a command script ( .cmd ) where I'm trying to COPY a shortcut. > It seems that I can copy the shortcut, when I do so > manually/interactively. Copy & Paste works just fine. But my script? > Nope. And I can't test for its existence either. Like, if it's > already there, don't try to copy it. > > Shouldn't I be able to copy it with a script? Do I have to use a > vbscript instead of a command script? > > I know that I can CREATE a shortcut, but I don't want to. It's > looking like I may HAVE to, unless I can find the anwer to my copying > it. > > Any help would be appreciated. Thanks in advance, The below command works just fine on my XP SP2 computer: copy %SystemRoot%\system32\notepad.exe c:\ |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Desktop shortcuts "Tcs" <someone@xxxxxx> wrote in message news:l1nor4117ddi0gn1hbb12veg7kr9upob8b@xxxxxx Quote: > This is probably the wrong place to ask this, but it's the best place > I know of... If there's one better, please tell me. > > I have a command script ( .cmd ) where I'm trying to COPY a shortcut. > It seems that I can copy the shortcut, when I do so > manually/interactively. Copy & Paste works just fine. But my script? > Nope. And I can't test for its existence either. Like, if it's > already there, don't try to copy it. > > Shouldn't I be able to copy it with a script? Do I have to use a > vbscript instead of a command script? > > I know that I can CREATE a shortcut, but I don't want to. It's > looking like I may HAVE to, unless I can find the anwer to my copying > it. > > Any help would be appreciated. Thanks in advance, > > Tom User\Desktop or whatever user's desktop you are interested in? -Paul Randall |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Desktop shortcuts "Tcs" <someone@xxxxxx> wrote in message news:l1nor4117ddi0gn1hbb12veg7kr9upob8b@xxxxxx Quote: > This is probably the wrong place to ask this, but it's the best place > I know of... If there's one better, please tell me. > > I have a command script ( .cmd ) where I'm trying to COPY a shortcut. > It seems that I can copy the shortcut, when I do so > manually/interactively. Copy & Paste works just fine. But my script? > Nope. And I can't test for its existence either. Like, if it's > already there, don't try to copy it. > > Shouldn't I be able to copy it with a script? Do I have to use a > vbscript instead of a command script? > > I know that I can CREATE a shortcut, but I don't want to. It's > looking like I may HAVE to, unless I can find the anwer to my copying > it. > > Any help would be appreciated. Thanks in advance, > > Tom it but you never post the two most important things: a) Your script, and b) The error message(s) you see. If you want a good response then you MUST post these items. |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Desktop shortcuts "Tcs" <someone@xxxxxx> wrote in message news:e3qor49dbbghvl1gr6snku3dl6bsjbc35f@xxxxxx Quote: > If I were to create a shortcut for cmd.exe, how would I modify its > properties? Such as text & background color, etc. > > On Sat, 14 Mar 2009 21:43:53 -0400, Tcs <someone@xxxxxx> wrote: > Quote: >>This is probably the wrong place to ask this, but it's the best place >>I know of... If there's one better, please tell me. >> >>I have a command script ( .cmd ) where I'm trying to COPY a shortcut. >>It seems that I can copy the shortcut, when I do so >>manually/interactively. Copy & Paste works just fine. But my script? >>Nope. And I can't test for its existence either. Like, if it's >>already there, don't try to copy it. >> >>Shouldn't I be able to copy it with a script? Do I have to use a >>vbscript instead of a command script? >> >>I know that I can CREATE a shortcut, but I don't want to. It's >>looking like I may HAVE to, unless I can find the anwer to my copying >>it. >> >>Any help would be appreciated. Thanks in advance, >> >>Tom "C:\documents and settings\username\new link name.lnk" (all on one line) works happily for me. Perhaps being a little more forthcoming with what you are doing may elicit a better response. Oh - better groups? Well, you could try microsoft.public.win2000.cmdprompt. Naturally, it's not a well-frequented group, perhaps because "cmdprompt" is a ridiculous name that only Microsoft uses. Perhaps it's because win2000 isn't "current" but they haven't established similar groups for later products - presumably because all they want to support is point, click and giggle. Personally, I believe that it's the "microsoft" part that puts people off. But better than that, and to save you being redirected from there, perhaps you could just try going to alt.msdos.batch.nt (or alt.msdos.batch if the ....nt group isn't carried by your ns.) As for setting up your shortcut, right-click, select properties, and use the various tabs. "Colors" for instance lets you set up the screen colours. I use yellow on black. I set the font to "Lucida Console" 18-point using the "Font" tab, and on the "Options" tab, I select "Window" and untick Quickedit and Insert mode. Your selections will depend on the way you wish to operate, of course. |
My System Specs![]() |
| | #7 (permalink) |
| | Re: Desktop shortcuts "billious" <billious_1954@xxxxxx> wrote in message news:49bd0bd4$0$5622$5a62ac22@xxxxxx-qv1-newsreader-01.iinet.net.au... Quote: > > "Tcs" <someone@xxxxxx> wrote in message > news:e3qor49dbbghvl1gr6snku3dl6bsjbc35f@xxxxxx Quote: >> If I were to create a shortcut for cmd.exe, how would I modify its >> properties? Such as text & background color, etc. >> >> On Sat, 14 Mar 2009 21:43:53 -0400, Tcs <someone@xxxxxx> wrote: >> Quote: >>>This is probably the wrong place to ask this, but it's the best place >>>I know of... If there's one better, please tell me. >>> >>>I have a command script ( .cmd ) where I'm trying to COPY a shortcut. >>>It seems that I can copy the shortcut, when I do so >>>manually/interactively. Copy & Paste works just fine. But my script? >>>Nope. And I can't test for its existence either. Like, if it's >>>already there, don't try to copy it. >>> >>>Shouldn't I be able to copy it with a script? Do I have to use a >>>vbscript instead of a command script? >>> >>>I know that I can CREATE a shortcut, but I don't want to. It's >>>looking like I may HAVE to, unless I can find the anwer to my copying >>>it. >>> >>>Any help would be appreciated. Thanks in advance, >>> >>>Tom > copy "C:\documents and settings\username\existing link name.lnk" > "C:\documents and settings\username\new link name.lnk" > > (all on one line) > > works happily for me. Perhaps being a little more forthcoming with what > you are doing may elicit a better response. > > Oh - better groups? Well, you could try > microsoft.public.win2000.cmdprompt. "microsoft.public.win2000.cmdprompt.admin". Quote: > Naturally, it's not a well-frequented group, perhaps because "cmdprompt" > is a ridiculous name that only Microsoft uses. ;-) Quote: > Perhaps it's because win2000 isn't "current" but they haven't > established similar groups for later products - presumably because all > they want to support is point, click and giggle. whole bunch of newsgroup names were suggested, based partly on the o/s used (ranging from pre-windows DOS versions, through 95, 98, 4DOS, XP, and etc). IIRC there was no clear improvement that was likely to draw those needing the info to the correct newsgroup so no changes were made. /Al Quote: > Personally, I believe that it's the "microsoft" part that puts people off. > > But better than that, and to save you being redirected from there, perhaps > you could just try going to alt.msdos.batch.nt (or alt.msdos.batch if the > ...nt group isn't carried by your ns.) > > As for setting up your shortcut, right-click, select properties, and use > the various tabs. "Colors" for instance lets you set up the screen > colours. I use yellow on black. I set the font to "Lucida Console" > 18-point using the "Font" tab, and on the "Options" tab, I select "Window" > and untick Quickedit and Insert mode. Your selections will depend on the > way you wish to operate, of course. > > > > |
My System Specs![]() |
| | #8 (permalink) |
| | Re: Desktop shortcuts "Al Dunbar" <alandrub@xxxxxx> wrote in message news:eVbxaFZpJHA.1172@xxxxxx Quote: > > "billious" <billious_1954@xxxxxx> wrote in message > news:49bd0bd4$0$5622$5a62ac22@xxxxxx-qv1-newsreader-01.iinet.net.au... Quote: >> >> "Tcs" <someone@xxxxxx> wrote in message >> news:e3qor49dbbghvl1gr6snku3dl6bsjbc35f@xxxxxx Quote: >>> If I were to create a shortcut for cmd.exe, how would I modify its >>> properties? Such as text & background color, etc. >>> >>> On Sat, 14 Mar 2009 21:43:53 -0400, Tcs <someone@xxxxxx> wrote: >>> >>>>This is probably the wrong place to ask this, but it's the best place >>>>I know of... If there's one better, please tell me. >>>> >>>>I have a command script ( .cmd ) where I'm trying to COPY a shortcut. >>>>It seems that I can copy the shortcut, when I do so >>>>manually/interactively. Copy & Paste works just fine. But my script? >>>>Nope. And I can't test for its existence either. Like, if it's >>>>already there, don't try to copy it. >>>> >>>>Shouldn't I be able to copy it with a script? Do I have to use a >>>>vbscript instead of a command script? >>>> >>>>I know that I can CREATE a shortcut, but I don't want to. It's >>>>looking like I may HAVE to, unless I can find the anwer to my copying >>>>it. >>>> >>>>Any help would be appreciated. Thanks in advance, >>>> >>>>Tom >> copy "C:\documents and settings\username\existing link name.lnk" >> "C:\documents and settings\username\new link name.lnk" >> >> (all on one line) >> >> works happily for me. Perhaps being a little more forthcoming with what >> you are doing may elicit a better response. >> >> Oh - better groups? Well, you could try >> microsoft.public.win2000.cmdprompt. > Correction, it's not "microsoft.public.win2000.cmdprompt", but > "microsoft.public.win2000.cmdprompt.admin". > Quote: >> Naturally, it's not a well-frequented group, perhaps because "cmdprompt" >> is a ridiculous name that only Microsoft uses. > Also because we tend to answer batch questions here where they are > off-topic ;-) > Quote: >> Perhaps it's because win2000 isn't "current" but they haven't >> established similar groups for later products - presumably because all >> they want to support is point, click and giggle. > I remember this being discussed at length some time ago. At that time a > whole bunch of newsgroup names were suggested, based partly on the o/s > used (ranging from pre-windows DOS versions, through 95, 98, 4DOS, XP, and > etc). IIRC there was no clear improvement that was likely to draw those > needing the info to the correct newsgroup so no changes were made. > > /Al > Quote: >> Personally, I believe that it's the "microsoft" part that puts people >> off. >> >> But better than that, and to save you being redirected from there, >> perhaps you could just try going to alt.msdos.batch.nt (or >> alt.msdos.batch if the ...nt group isn't carried by your ns.) >> >> As for setting up your shortcut, right-click, select properties, and use >> the various tabs. "Colors" for instance lets you set up the screen >> colours. I use yellow on black. I set the font to "Lucida Console" >> 18-point using the "Font" tab, and on the "Options" tab, I select >> "Window" and untick Quickedit and Insert mode. Your selections will >> depend on the way you wish to operate, of course. microsoft.public.DosOrWin.AllVersions.BatchOrCmdPrompt Maybe that would be too obvious or violate some newsgroup or company rule. -Paul Randall |
My System Specs![]() |
| | #9 (permalink) |
| | Re: Desktop shortcuts "Paul Randall" <paulr90@xxxxxx> wrote in message news:uWwBo$ZpJHA.5880@xxxxxx Quote: > > What about > microsoft.public.DosOrWin.AllVersions.BatchOrCmdPrompt > > Maybe that would be too obvious or violate some newsgroup or company rule. > > -Paul Randall Microsoft flunkies are taught to parrot "there is no DOS." |
My System Specs![]() |
| | #10 (permalink) |
| | Re: Desktop shortcuts Add '.lnk', eh? Hmmm... I didn't know that there WAS an extension. I mean, I guess I SHOULD have known, but I always set my view to SHOW file extensions, and shortcuts never do. Perhaps this is all that I'm missing. Thanks! On Sat, 14 Mar 2009 21:59:22 -0500, "James Whitlow" <jwhitlow.60372693@xxxxxx> wrote: Quote: >"Tcs" <someone@xxxxxx> wrote in message >news:l1nor4117ddi0gn1hbb12veg7kr9upob8b@xxxxxx Quote: >> This is probably the wrong place to ask this, but it's the best place >> I know of... If there's one better, please tell me. >> >> I have a command script ( .cmd ) where I'm trying to COPY a shortcut. >> It seems that I can copy the shortcut, when I do so >> manually/interactively. Copy & Paste works just fine. But my script? >> Nope. And I can't test for its existence either. Like, if it's >> already there, don't try to copy it. >> >> Shouldn't I be able to copy it with a script? Do I have to use a >> vbscript instead of a command script? >> >> I know that I can CREATE a shortcut, but I don't want to. It's >> looking like I may HAVE to, unless I can find the anwer to my copying >> it. >> >> Any help would be appreciated. Thanks in advance, > Are you adding the '.lnk' or '.url' hidden extension to your copy command? >The below command works just fine on my XP SP2 computer: > >copy %SystemRoot%\system32\notepad.exe c:\ > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Desktop Shortcuts | Vista General | |||
| Desktop shortcuts | Vista performance & maintenance | |||
| Desktop Shortcuts | Vista performance & maintenance | |||
| Desktop Shortcuts | Vista General | |||