Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Windows

Reply
 
LinkBack Thread Tools
Old 07-25-07   #1 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Jun 2006
Posts: 174

Rep: 2 sysshock Unknown
Unique Rep: 1
Folding Team Rank: 1822
Trader Rating: 0
Default need a batch program/SOLVED IT

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??
__________________
System: ALIENWARE CRAP
CPU
opty 165 LCB9E 0646RPMW
Motherboard
asus a8n-sli
Memory
G. Skill 2 gig (2x1gig)
Graphics Card
8600gts w512 x1
Hard Drive
not sure off top of head
Sound Card
audigy se
Power Supply
silverstone sst-st65zf
Case
alienware case
CPU cooling
stock opty cooler
GPU cooling
stock
OS
windows xp home
Monitor
philips 200w

Last edited by sysshock : 07-26-07 at 03:56 AM.
sysshock is offline I fold for Overclock.net   Reply With Quote
Old 07-26-07   #2 (permalink)
Fear the Wombat
 
stanrc's Avatar
 
amd nvidia

Join Date: Apr 2007
Location: Stafford, VA
Posts: 4,457

Folding Team Rank: 88
Hardware Reviews: 7
Trader Rating: 5
Default

do you want six seperate copies of the same file?

System: Server
CPU
X2 3600+ 2.5
Motherboard
ASRock
Memory
2 GB G.Skill
Graphics Card
Integrated
Hard Drive
3x 320 GB
Power Supply
500w Antec Earthwatts
OS
XP Pro
stanrc is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 07-26-07   #3 (permalink)
Linux Lobbyist
 
Wheezy Baby's Avatar
 
amd nvidia

Join Date: May 2006
Location: ./
Posts: 2,718

Rep: 168 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 129
FAQs Submitted: 1
Folding Team Rank: 1997
Hardware Reviews: 13
Trader Rating: 4
Default

I can probably program you something that will do that for you. Just take a selected file and copy it 6 times?
__________________

..Gaming on linux, more possible every day
..


Need help with linux?
Check the FAQ Directory or Make your own thread



System: ::: Linux Gaming Rig :::
CPU
AMD Athlon X2 BE-2400
Motherboard
Biostar A770
Memory
G.Skill 2x2GB DDR2-800
Graphics Card
eVGA GeForce 8800GS
Hard Drive
Seagate Barracuda 320GB
Sound Card
SoundBlaster Live! 7.1
Power Supply
Silverstone ST400 400w
Case
Antec Three Hundred
CPU cooling
Rosewill RCX-Z940-SL
GPU cooling
Stock
OS
Ubuntu 8.04 (No Windows)
Monitor
Asus VW223T 22" Wide
Wheezy Baby is offline I fold for Overclock.net Wheezy Baby's Gallery   Reply With Quote
Old 07-26-07   #4 (permalink)
sk8 d1tches!
 
s1rrah's Avatar
 
intel nvidia

Join Date: Oct 2006
Location: houston, tx
Posts: 3,074

Rep: 484 s1rrah is a proven members1rrah is a proven members1rrah is a proven members1rrah is a proven members1rrah is a proven member
Unique Rep: 295
Trader Rating: 9
Default

Quote:
Originally Posted by sysshock View Post
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??
Maybe something like a macro recording program?

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"
...

System: The Maker(tm)
CPU
Q6700 @ 3.8ghz
Motherboard
Asus Maximus Formula
Memory
2gig Corsair 1066mhz @ 1143mhz
Graphics Card
EVGA 8800GT SC
Hard Drive
2 x 500gig WD SATAII
Sound Card
Auzentech Prelude 7.1
Power Supply
TT PurePower 500 Watt
Case
TT Armor w/ 250mm fan
CPU cooling
T.R.U.E. (lapped)
GPU cooling
TT ND-1
OS
XP Home
Monitor
Samsung 226BW
s1rrah is offline Overclocked Account   Reply With Quote
Old 07-26-07   #5 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Jun 2006
Posts: 174

Rep: 2 sysshock Unknown
Unique Rep: 1
Folding Team Rank: 1822
Trader Rating: 0
Default

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
__________________
System: ALIENWARE CRAP
CPU
opty 165 LCB9E 0646RPMW
Motherboard
asus a8n-sli
Memory
G. Skill 2 gig (2x1gig)
Graphics Card
8600gts w512 x1
Hard Drive
not sure off top of head
Sound Card
audigy se
Power Supply
silverstone sst-st65zf
Case
alienware case
CPU cooling
stock opty cooler
GPU cooling
stock
OS
windows xp home
Monitor
philips 200w
sysshock is offline I fold for Overclock.net   Reply With Quote
Old 07-26-07   #6 (permalink)
sk8 d1tches!
 
s1rrah's Avatar
 
intel nvidia

Join Date: Oct 2006
Location: houston, tx
Posts: 3,074

Rep: 484 s1rrah is a proven members1rrah is a proven members1rrah is a proven members1rrah is a proven members1rrah is a proven member
Unique Rep: 295
Trader Rating: 9
Default

Quote:
Originally Posted by sysshock View Post
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
If such a thing is even possible, and at the DOS level ... your still just inputting text and so I'd say a macro program of some kind is what you need.

..

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"
...

System: The Maker(tm)
CPU
Q6700 @ 3.8ghz
Motherboard
Asus Maximus Formula
Memory
2gig Corsair 1066mhz @ 1143mhz
Graphics Card
EVGA 8800GT SC
Hard Drive
2 x 500gig WD SATAII
Sound Card
Auzentech Prelude 7.1
Power Supply
TT PurePower 500 Watt
Case
TT Armor w/ 250mm fan
CPU cooling
T.R.U.E. (lapped)
GPU cooling
TT ND-1
OS
XP Home
Monitor
Samsung 226BW
s1rrah is offline Overclocked Account   Reply With Quote
Old 07-26-07   #7 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Jun 2006
Posts: 174

Rep: 2 sysshock Unknown
Unique Rep: 1
Folding Team Rank: 1822
Trader Rating: 0
Default

Quote:
Originally Posted by s1rrah View Post
Maybe something like a macro recording program?

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

...

i cant use anything downloaded like that, i am at work and they would flip a bird if i did that lol, that is why i thought a batch file made in the windows/command/dos enviroment would work the best

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
__________________
System: ALIENWARE CRAP
CPU
opty 165 LCB9E 0646RPMW
Motherboard
asus a8n-sli
Memory
G. Skill 2 gig (2x1gig)
Graphics Card
8600gts w512 x1
Hard Drive
not sure off top of head
Sound Card
audigy se
Power Supply
silverstone sst-st65zf
Case
alienware case
CPU cooling
stock opty cooler
GPU cooling
stock
OS
windows xp home
Monitor
philips 200w
sysshock is offline I fold for Overclock.net   Reply With Quote
Old 07-26-07   #8 (permalink)
New to Overclock.net
 
amd nvidia

Join Date: Jun 2006
Posts: 174

Rep: 2 sysshock Unknown
Unique Rep: 1
Folding Team Rank: 1822
Trader Rating: 0
Default

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.
__________________
System: ALIENWARE CRAP
CPU
opty 165 LCB9E 0646RPMW
Motherboard
asus a8n-sli
Memory
G. Skill 2 gig (2x1gig)
Graphics Card
8600gts w512 x1
Hard Drive
not sure off top of head
Sound Card
audigy se
Power Supply
silverstone sst-st65zf
Case
alienware case
CPU cooling
stock opty cooler
GPU cooling
stock
OS
windows xp home
Monitor
philips 200w
sysshock is offline I fold for Overclock.net   Reply With Quote
Old 07-26-07   #9 (permalink)
One of OCNs pros.
 
G|F.E.A.D|Killa's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: arizona
Posts: 7,964
Blog Entries: 3

Rep: 515 G|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famous
Unique Rep: 350
Hardware Reviews: 10
Trader Rating: 6
Default

nice job 2 rep 4 you
__________________
23055 3DMark06

My E8600

5.0Ghz E8600

System: Lurking Ninja
CPU
Intel Core 2 Duo E8600 4.0ghz 1.23v Q820A324
Motherboard
EVGA 132-CK-NF78-A1 LGA 775 NVIDIA nForce 780i SLI
Memory
6GB OCZ Platinum PC2 8500 @ 800mhz 4-4-4-8 1T
Graphics Card
2X Evga GTX 260 SLI (216 core) 715/1550/1150
Hard Drive
2X WD 250GB AAKS in RAID 0 WD 400GB slave.
Sound Card
X-fi XtremeGamer Fatality Pro. *Modded blue LED*
Power Supply
PC Power Cooling 750w Quad black
Case
Painted and cut Rocketfish
CPU cooling
D-Tek Fuzion V2/ BIP 240
GPU cooling
stock EVGA cooler
OS
Vista Ultimate X64
Monitor
LG 19" WS Flatron
G|F.E.A.D|Killa is offline Overclocked Account G|F.E.A.D|Killa's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 02:07 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.31702 seconds with 8 queries