Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!ogicse!milton!yoda.eecs.wsu.edu!jkavanau From: jkavanau@eecs.wsu.edu (Jeff Kavanaugh) Newsgroups: comp.os.msdos.misc Subject: Re: Swapping logical device names under DOS? Keywords: logical device names Message-ID: <1991Jan31.174659.27640@eecs.wsu.edu> Date: 31 Jan 91 17:46:59 GMT References: <1991Jan30.201844.13348@cs.cmu.edu> Reply-To: jkavanau@yoda.UUCP (Jeff Kavanaugh) Organization: Washington State University, Pullman Lines: 25 In article <1991Jan30.201844.13348@cs.cmu.edu> wah@MAPS.CS.CMU.EDU (Wilson Harvey) writes: >This must have been asked many times. > >I have a NEC PowerMate 286+ with two internal floppy drives (5.25" and 3.5"). >These are set up as A: and B:, respectively. Periodically, I need to be able >to switch the logical names (so that the A: drive is the 3.5" and the B: drive >is 5.25"). Ideally, this would be done with a command file. > >Can anyone clue me in on how to do it? I'm currently running under DOS3.2, but >I will soon be upgrading to DOS4.0. > DOS has a file called ASSIGN.COM. It is used just for this purpose. Suppose you want the A: to be B: and vice-versa. Execute the following: ASSIGN A: B: ASSIGN B: A: This may not fool all installation software but will work with most apps. -- ---------------------------- Jeff Kavanaugh (jkavanau@yoda.eecs.wsu.edu) ----------------------------