Register
Members List
Social Groups
Search
Today's Posts
Mark Forums Read
Member Login
Remember Me?
Sign Up!
|
Forgot Password
Computer Forums
>
Programmers Lounge
>
Programming Discussions
» Batch
Page 2 of 2
<
1
2
LinkBack
Thread Tools
Display Modes
04-23-2007, 11:58 AM
#
11
(
permalink
)
Yek
T.F's
Resident
Cool Guy...
Join Date: Aug 2006
Posts: 1,625
Re: Batch
how can i copy D:/Folder1
to C:/Program Files/Folder1
??
04-23-2007, 05:40 PM
#
12
(
permalink
)
office politics
It's all just 1s and 0s
Join Date: Jan 2004
Location: in the lab
Posts: 4,410
Re: Batch
xcopy d:\folder1 "c:\program files\folder1"
add
/E - copy all directories and subdirectories
/Y - suppress overwrite prompts
__________________
'If you don't stand for somethin, you'll fall for anything' - Dr. Dre
Been there, done that
Geeks Are Sexy.net
|
ExtremeTech.com
|
ASP Free.com
|
Think Geek.com
|
Sys Opt.com
|
Code Guru.com
Trax In Space.com
|
HowTo Forge.com
|
Lazy Forums.com
|
Warrior Nation.net
|
DevGuru.com
|
Tech IMO.com
Rootsecure.net
|
SQLServerCentral.com
|
Code Project.com
|
RunAs Radio.com
|
Lockergnome IT Pros
04-24-2007, 01:44 PM
#
13
(
permalink
)
Yek
T.F's
Resident
Cool Guy...
Join Date: Aug 2006
Posts: 1,625
Re: Batch
Thanks
all i need now is how to create a shortcut on the desktop ??
04-24-2007, 06:47 PM
#
14
(
permalink
)
Vormund
Monster Techie
Join Date: May 2004
Location: Tucson, AZ, USA
Posts: 1,183
Re: Batch
Right click the file -> Send To -> Desktop (create shortcut)
__________________
04-25-2007, 02:16 PM
#
15
(
permalink
)
Yek
T.F's
Resident
Cool Guy...
Join Date: Aug 2006
Posts: 1,625
Re: Batch
with batch
04-25-2007, 02:23 PM
#
16
(
permalink
)
Vormund
Monster Techie
Join Date: May 2004
Location: Tucson, AZ, USA
Posts: 1,183
Re: Batch
Quote:
Originally Posted by
Tkey
with batch
I'm pretty sure this can
not
be done with a batch file alone. So you either need a third party application (such as
Creating a Shortcut from the command line (batch file)
) or you could just use a vb script (think 'advanced batch file'), such as
Create shortcut from a batch script [Archive] - PC World Forums
.
__________________
04-26-2007, 01:10 PM
#
17
(
permalink
)
Yek
T.F's
Resident
Cool Guy...
Join Date: Aug 2006
Posts: 1,625
Re: Batch
how about
xcopy d:\folder1\shortcut.exe "c:\Userprofile\desktop\shortcut.exe"
would that work?
04-26-2007, 05:41 PM
#
18
(
permalink
)
CrazeD
Wizard Techie
Join Date: Feb 2006
Location: Maine
Posts: 3,683
Re: Batch
Quote:
Originally Posted by
Tkey
how about
xcopy d:\folder1\shortcut.exe "c:\Userprofile\desktop\shortcut.exe"
would that work?
No. That would just copy the whole file, not make a shortcut.
__________________
Need website help?
PM me
!
05-07-2007, 08:16 AM
#
19
(
permalink
)
Yek
T.F's
Resident
Cool Guy...
Join Date: Aug 2006
Posts: 1,625
Re: Batch
You could create the inf file , copy that onto the disk then use the xcopy to move it to desktop
05-13-2007, 09:17 PM
#
20
(
permalink
)
bla!!
Monster Techie
Join Date: May 2004
Location: /usr/root/mn/us
Posts: 1,121
Re: Batch
The stuff that you're doing in here is much better handled through VBS scripting. Take a look at msdn's scripting site for examples of moving files/folders and creating shortcuts.
__________________
<br>
Its a frigging Laptop, not a Labtop!!!!
Page 2 of 2
<
1
2
«
mysql_query(): supplied argument is not a valid MySQL-Link resource in...
|
PHP code needed
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
Forum Rules
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Batch file
steak1986
Windows Operating Systems and Software
6
04-11-2007
06:03 PM
Auto delete w/o prompt batch file
Kratos
Windows Operating Systems and Software
9
04-03-2007
03:18 PM
Contact Us
-
Computer Technology Forums
-
Archive
-
Top
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!