Windows Scripting
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows Scripting

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 28th, 2004, 06:59 AM
stevemw stevemw is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: uk
Posts: 70 stevemw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Any DOS experts out there? Need help with a batch file

Is there a DOS command to create a shortcut to a named file from a named location? I'm trying to create a batch file that creates a number of desktop shortcuts for new members of staff. The source files are on the server.

The only way around it I can think of is to manually create shortcuts for them on the server, changed the startup path for them to UNC paths and then use xcopy commands in the batch file to copy the shortcuts to the users desktop. This seems to me an long way around it.

Anyone know if there is a quicker way of doing this?

Many Thanks

Steve

Reply With Quote
  #2  
Old November 4th, 2004, 02:10 AM
SoberButCrazy SoberButCrazy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 15 SoberButCrazy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Link Shortcuts are used only in windows. You cannot make shortcuts for windows in dos. Dos shortcuts are setup different and require command line to be executed. You can only create batch file shortcuts in dos. If you did this and transfered them to windows they would run command for a few moments. I suggest creating the link files and using the batch program to transfer them to each computer. On a standard network this should be a simple task.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows Scripting > Any DOS experts out there? Need help with a batch file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT