MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.

Closed Thread
Thread Tools Display Modes
Old 02-20-07, 15:17
xcas08 xcas08 is offline
Private E-2
Join Date: Feb 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default batch file that will copy and delete

Hi new to programming,

I would like to create a batch file that will copy a file to a new location then delete the old file. Any help would be appreciated.
Sponsored links
Old 02-20-07, 23:53
Kodo's Avatar
Kodo Kodo is offline
Join Date: Jan 2002
Location: Syracuse NY, USA
Posts: 11,502
Thanks: 15
Thanked 69 Times in 47 Posts
Default Re: batch file that will copy and delete

use the MOVE command

MOVE C:\SomeFile.txt D:\SomeFile.txt
"The American people will never knowingly adopt Socialism..." -Norman Thomas
Closed Thread

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
batch file that will delete files by date beetleboy Software 1 02-08-06 20:20
Batch file needed to auto delete old folders. ArchAngel Software 5 11-23-05 10:55
Batch File time stamp and appending to the end of a file question2ask Software 2 06-18-04 07:28
help writing a script,batch or reg file to delete files Integer Software 2 10-10-03 18:56
help writing a script,batch or reg file to delete files Integer Software 0 10-10-03 17:04

All times are GMT -5. The time now is 18:12.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds

All content Copyright source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger