Computing.Net > Forums > Programming > Bat File Related Scripting

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.

Bat File Related Scripting

Reply to Message Icon

Name: universal.smart
Date: April 26, 2009 at 03:14:20 Pacific
OS: Windows XP
CPU/Ram: 3.0ghz/4GBddr2
Product: Intel / Pentium 4 system
Subcategory: Batch
Comment:

sir, I am a student..i have made an exe file. and now i want that exe file to be copied in each folder of the system or in any particular drive..i need it in bat file.. is there any posiblities ??



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: April 26, 2009 at 03:35:55 Pacific
Reply:

@echo off & setLocal EnableDelayedExpansion

for /f "tokens=* delims=" %%a in ('dir/s/b/ad d:\') do (
copy my.exe "%%a"
)


=====================================
If at first you don't succeed, you're about average.

M2


0

Response Number 2
Name: universal.smart
Date: April 27, 2009 at 02:02:41 Pacific
Reply:

thankx a lot sir


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Bat File Related Scripting

Bat file to remove antivirus 2009 www.computing.net/answers/programming/bat-file-to-remove-antivirus-2009/17484.html

Bat File Help www.computing.net/answers/programming/bat-file-help-/9414.html

Keyboard commands in a Bat file www.computing.net/answers/programming/keyboard-commands-in-a-bat-file/9360.html