Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!samsung!caen!news.cs.indiana.edu!arizona.edu!arizona!tlglenn From: tlglenn@cs.arizona.edu (Ted L. Glenn) Newsgroups: comp.os.msdos.misc Subject: Re: MOVE files, not copy. Message-ID: <1011@caslon.cs.arizona.edu> Date: 4 Mar 91 06:13:42 GMT References: <2851@krafla.rhi.hi.is> <5yN0X2w163w@cybrspc> <1991Mar4.044236.4842@cs.mcgill.ca> Organization: U of Arizona CS Dept, Tucson Lines: 31 In article <1991Mar4.044236.4842@cs.mcgill.ca>, storm@cs.mcgill.ca (Marc WANDSCHNEIDER) writes: > > After a rather lengthy search through the MSDOS manual, I still am at a loss > on how to MOVE files instead of just copying them. > > IS there a way to do this without the aid of software, or do I have to copy > each file, and then go back and delete it...? I've always wondered if DOS had the move command. To the best of my knowledge there is none. The closest I could come was to write a batch file to do the job myself. move this.fil that.fil echo off if %1l == l goto err if %2l == l goto err copy %1 %2 del %1 goto end :err echo Insufficient parameters :end I typed this from memory, but I think it'll work. -- -Ted L. Glenn "Don't worry, be happy!" <--Ack! Pffffhhht! tlglenn@cs.arizona.edu G19382105@ccit.arizona.edu G19382105@ARIZRVAX.BITNET