|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Windows | |
need a batch program/SOLVED IT
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
New to Overclock.net
|
that will take the name of a file and copy it onto itself 6 times
__________________this way i dont have to goto the command promt and type copy name.txt + name.txt + name.txt + name.txt + name.txt + name.txt name.tx6 is it possible??
Last edited by sysshock : 07-26-07 at 03:56 AM. |
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Linux Lobbyist
|
I can probably program you something that will do that for you. Just take a selected file and copy it 6 times?
__________________
|
|||||||||||||
|
|
|
|
#4 (permalink) | ||||||||||||||
|
sk8 d1tches!
|
Quote:
I know I could use the macro keys on my Logitech G11 to program that function. Perhaps there is a windows based macro program that will let you define and run macros to do that? Just search around on things like "freeware macro recording program", etc. Here's one I just found: http://www.freedownloadscenter.com/U...utoHotkey.html ...
__________________
... ReV1eWs: ND-1 VGA Cooler | Mod'd Scythe Infinity | Iceberq 6 VGA Cooler | Spirit RS RAM cooler | Zalman 9500 on NOS | MagicTune ... Aumotocnic: "An unfortunate member of the overclock.net insomnia club" ... OSAMT: "Member of OCN Songwriter and Musician Thread" ...
|
||||||||||||||
|
|
|
|
#5 (permalink) | |||||||||||||
|
New to Overclock.net
|
i want to take teh same file and copy it onto it self.
__________________one file copied 6 times into a new file. its like opening a text file in windows and doing a ctrl c then hitting ctrl v 5 times. (does that make sence) btw dont mind my spelling
|
|||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||||
|
sk8 d1tches!
|
Quote:
.. for instance, I never type in my user name and password at forums ... I just hit the "G2" key on my keyboard and it types itself ...
__________________
... ReV1eWs: ND-1 VGA Cooler | Mod'd Scythe Infinity | Iceberq 6 VGA Cooler | Spirit RS RAM cooler | Zalman 9500 on NOS | MagicTune ... Aumotocnic: "An unfortunate member of the overclock.net insomnia club" ... OSAMT: "Member of OCN Songwriter and Musician Thread" ...
|
||||||||||||||
|
|
|
|
#7 (permalink) | ||||||||||||||
|
New to Overclock.net
|
Quote:
![]() pretty much i want to type upit name.txt name.tx6 and it will run the batch file inserting name.txt into the right spots and name.tx6 into the right spot, as seen up above in my op
|
||||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||||
|
New to Overclock.net
|
ok, i dug around the web after work and figured out how to do it...
__________________i make a bat file named test.bat and inside of it i put the following text. @echo off if(%3) == () goto end2 if(%3) == (3) goto three if(%3) == (6) goto six :three copy %1 + %1 + %1 %2 goto end :six copy %1 + %1 + %1 + %1 + %1 + %1 %2 goto end :end echo thank you have a nice day :end2 echo please enter file to be copied, name to be saved and either 3 or 6 for how many times to copy it, for exameple will.bat will.txt will.tx6 6 and that does exactly what i want it to do, but htank you guys for the quick replies.
|
|||||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
One of OCNs pros.
|
nice job 2 rep 4 you
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|