QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Consumer > General PC Forums > Everything Windows
The above video goes away if you are a member and logged in, so log in now!

Making batch files

This is a discussion on Making batch files within the Everything Windows forums, part of the General PC Forums category; I'm new at this but I want to make a batch file that copies files. Here's what I have in ...

Reply
 
LinkBack Thread Tools
Old 05-28-2008, 12:40 PM   #1
 
luigiman83's Avatar
 
Join Date: Oct 2006
Posts: 383
Trader Feedback: 0
Default Making batch files

I'm new at this but I want to make a batch file that copies files. Here's what I have in it:

@echo off
echo Do you want to copy this file?
pause
cls
copy /y c:\test.txt c:\test\test.txt
pause

It tells me that the syntax command is incorrect and without the file there it tells me it can't find the file. Can I get some help?
luigiman83 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-28-2008, 01:54 PM   #2
300k Hot Club Member
 
teeth_03's Avatar
 
Join Date: Mar 2006
Location: Big Blue Ball of Bor
Posts: 1,335
Trader Feedback: 0
Default

is the test.txt file actually test.txt or is it test.txt.txt?
teeth_03 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
batch , files , making

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 12:32 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us